yuqiyu@hengyu ~> /usr/libexec/java_home -h Usage: java_home [options...] Returns the path to a Java home directory from the current user's settings.
Options: [-v/--version <version>] Filter versions (as if JAVA_VERSION had been set in the environment). [-a/--arch <architecture>] Filter architecture (as if JAVA_ARCH had been set in the environment). [-F/--failfast] Fail when filters return no JVMs, do not continue with default. [ --exec <command> ...] Execute the $JAVA_HOME/bin/<command> with the remaining arguments. [-X/--xml] Print full JVM list and additional data as XML plist. [-V/--verbose] Print full JVM list with architectures. [-h/--help] This usage information.