mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 06:48:24 +00:00
Update cheatsheets
This commit is contained in:
29
osx/java_home
Normal file
29
osx/java_home
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, osx]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user