Use /usr/libexec/java_home to select JVM on OS X