adding java version setting