diff --git a/pages/osx/java_home.md b/pages/osx/java_home.md new file mode 100644 index 000000000..9561a32c9 --- /dev/null +++ b/pages/osx/java_home.md @@ -0,0 +1,24 @@ +# java_home + +> Return a value for $JAVA_HOME or execute command using this variable. +> More information: . + +- List JVMs based on a specific version: + +`java_home --version {{1.5+}}` + +- List JVMs based on a specific [arch]itecture: + +`java_home --arch {{i386}}` + +- List JVMs based on a specific tasks (defaults to `CommandLine`): + +`java_home --datamodel {{Applets|WebStart|BundledApp|JNI|CommandLine}}` + +- List JVMs in a XML format: + +`java_home --xml` + +- Display help: + +`java_home --help`