fix JAVA_HOME set