Options: -v/-version Filter Java versions in the 'JVMVersion' form 1.X(+ or.). Returns the path to a Java home directory from the current user's settings. $ /usr/libexec/javahome -help Usage: javahome options. If you prefer XML output, javahome also has a -X option to output in XML.