mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 18:26:02 +02:00
jenv: add page (#4529)
This commit is contained in:
parent
352c863638
commit
734462967d
1 changed files with 28 additions and 0 deletions
28
pages/common/jenv.md
Normal file
28
pages/common/jenv.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# jenv
|
||||
|
||||
> Command line tool to manage the "JAVA_HOME" environment variable.
|
||||
> More information: <https://www.jenv.be/>.
|
||||
|
||||
- Add a java version to jEnv:
|
||||
|
||||
`jenv add {{path/to/jdk_home}}`
|
||||
|
||||
- Display the current JDK version used:
|
||||
|
||||
`jenv version`
|
||||
|
||||
- Display all managed JDKs:
|
||||
|
||||
`jenv versions`
|
||||
|
||||
- Set the global JDK version:
|
||||
|
||||
`jenv global {{java_version}}`
|
||||
|
||||
- Set the JDK version for the current shell session:
|
||||
|
||||
`jenv shell {{java_version}}`
|
||||
|
||||
- Enable a jEnv plugin:
|
||||
|
||||
`jenv enable-plugin {{plugin_name}}`
|
Loading…
Add table
Reference in a new issue