Updated minor java version to 40