Updated java version to 1.8 due to Long.BYTES dependency