All apps/jEnv

jEnv

jenv

jEnv is a command line tool to help you forget how to set the JAVA_HOME environment variable.

Runs as jenv|macOS, Linux, Windows|www.jenv.be

Autocomplete

Fig spec, with what the manifest adds · 33 subcommands · 2 options
Published once and never changed; check the digest before caching
sha256
7671a8f9d7e1ffbbb12861812d9b440257a4142065da153c11aaf5e50d79bb7b
Size
9356 bytes
Subcommands33 subcommands
jenv commands
List all available JEnv commands
jenv help
Parses and displays help contents from a command's source file
jenv info
Show information about which command will be executed
jenv add
Add JDK into jenv. A alias name will be generated by parsing "java -version"
jenv enable-plugin
Activate a jEnv plugin
jenv disable-plugin
Deactivate a jEnv plugin
jenv doctor
Run jEnv diagnostics
jenv exec
Runs an executable by first preparing PATH so that the selected Java version's `bin' directory is at the front
jenv global
Sets the global Java version
jenv global-options
Sets the global Java options
jenv local
Sets the local application-specific Java version by writing the version name to a file named `.java-version'
jenv local-options
Sets the local application-specific Java options
jenv shell
Sets a shell-specific Java version by setting the `JENV_VERSION'
jenv shell-options
Sets the shell-specific Java options
jenv hooks
List hook scripts for a given jenv command
jenv init
Configure the shell environment for jenv
jenv javahome
Display path to selected JAVA_HOME
jenv macos-javahome
Installs a file located at ~/Library/LaunchAgents/jenv-environment.plist . It sets JAVA_HOME for GUI applications on startup for the **currently active version of Java**
jenv options
Show the current Java options
jenv options-file
Detect the file that sets the current jenv jvm options
jenv options-file-read
Read options from file
jenv options-file-write
Write options to a file
jenv prefix
Displays the directory where a Java version is installed
jenv refresh-plugins
Refresh plugins links
jenv refresh-versions
Refresh alias names
jenv rehash
Rehash jenv shims (run this after installing executables)
jenv remove
Remove JDK installations
jenv root
Display the root directory where versions and shims are kept
jenv shims
List existing jenv shims
jenv version
Shows the currently selected Java version and how it was selected
jenv versions
Lists all Java versions found in `$JENV_ROOT/versions/*'
jenv whence
List all Java versions that contain the given executable
jenv which
Displays the full path to the executable that jenv will invoke when you run the given command
OptionsOn jenv itself
--help-h
Show help for jEnv
--version
Show version for jEnv