Set Java version