java version related fix