set JAVA_HOME with /usr/libexec/java_home