Use libexec to figure out JAVA_HOME