use property for java version