mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
java_home: add page (#9685)
This commit is contained in:
parent
97b0abb633
commit
bbd5f9073c
1 changed files with 24 additions and 0 deletions
24
pages/osx/java_home.md
Normal file
24
pages/osx/java_home.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# java_home
|
||||
|
||||
> Return a value for $JAVA_HOME or execute command using this variable.
|
||||
> More information: <https://www.unix.com/man-page/osx/1/java_home>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue