Fix Java version