change JAVA_HOME to latest jdk.