Setting Java version