🌐
GitHub
github.com › jenv › jenv
GitHub - jenv/jenv: Manage your Java environment · GitHub
This document will show you how to install jenv, review its most common commands, show example workflows and identify known issues.
Starred by 6.6K users
Forked by 398 users
Languages   Shell 99.0% | Dockerfile 1.0%
🌐
Jenv
jenv.be
jEnv - Manage your Java environment
$ jenv add /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home oracle64-1.6.0.39 added $ jenv add /Library/Java/JavaVirtualMachines/jdk17011.jdk/Contents/Home oracle64-1.7.0.11 added
🌐
Baeldung
baeldung.com › home › java › managing multiple jdk installations with jenv
Managing Multiple JDK Installations With jEnv | Baeldung
May 2, 2025 - Next, let’s add the installed jenv command to the path based on the shell being used.
🌐
OSTechNix
ostechnix.com › home › command line utilities › how to manage multiple java versions with jenv on linux
How To Manage Multiple Java Versions With jEnv On Linux - OSTechNix
June 27, 2020 - jenv 0.5.3-2-g78dbd7f Usage: jenv <command> [<args>] Some useful jenv commands are: commands List all available jenv commands local Set or show the local application-specific Java version global Set or show the global Java version shell Set or show the shell-specific Java version rehash Rehash jenv shims (run this after installing executables) version Show the current Java version and its origin versions List all Java versions available to jenv which Display the full path to an executable whence List all Java versions that contain the given executable add Add JDK into jenv.
🌐
Medium
medium.com › javarevisited › manage-java-versions-with-jenv-6b8228552661
Manage Java Versions with jEnv. Master your Java Environment | by Jayson GCS | Javarevisited | Medium
September 11, 2023 - Today, we will be looking at one such command line tool called jEnv, to improve the developer experience for the Java version management workflow.
🌐
Bring
developer.bring.com › blog › configuring-jenv-the-right-way
Configuring jenv the right way – Bring Developer
July 27, 2018 - You should be seeing the currently set version (which should be java 10.0 or 10.0.1 as per the above example) as you java version. If not, something’s not right, and you may not get the intended behaviour out of your jenv.
🌐
Fig
fig.io › manual › jenv
jenv | Fig
jenv init · jenv javahome · jenv macos-javahome · jenv options · jenv options-file · jenv options-file-read · jenv options-file-write · jenv prefix · jenv refresh-plugins · jenv refresh-versions · jenv rehash · jenv remove · jenv root · jenv shims ·
🌐
Arunapi
arunapi.github.io › using-jenv
Using Jenv | My Blog
Jenv is a command line tool, which you can use to conviniently switch between various version of java.
Find elsewhere
🌐
Abanoub Hanna
abanoubhanna.com › posts › jenv
Jenv: Manage the "JAVA_HOME" environment variable | Abanoub Hanna
April 11, 2025 - jenv is a command-line tool to manage the “JAVA_HOME” environment variable. 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 ...
🌐
Medium
medium.com › @oyvind.ahlstrom › setup-jenv-to-manage-multiple-java-environments-f1d896a31b5b
Setup jEnv to manage multiple Java environments | by Øyvind Ahlstrøm | Medium
January 30, 2020 - This will list all the Java versions jEnv has indexed. You might see that there are duplicates for each Java version. For example ‘openjdk64–11.0.6’, ‘11.0.6’ and ‘11.0’. These all point to the same version of Java 11, however they provide different granularity of information in their name.
🌐
Medium
medium.com › @danielnenkov › multiple-jdk-versions-on-mac-os-x-with-jenv-5ea5522ddc9b
Multiple JDK versions on Mac OS X with jEnv | by Daniel Nenkov | Medium
November 9, 2017 - $ jenv add /Library/Java/JavaV... $ jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/ ... The * indicates the active version. It can be changed by typing: ... You can also configure a local version (per directory) or a shell instance version by replacing global with local or shell respectively. After making sure that java -version shows the correct ...
🌐
MathWorks
mathworks.com › matlab › external language interfaces › java with matlab › call java from matlab
jenv - Set Java path for MATLAB - MATLAB
jenv(version) sets the Java® path for MATLAB® to a Java version on your system or the version in a specified folder. For supported version information, see Versions of OpenJDK Compatible with MATLAB by Release.
🌐
Andrew Jones
andrew-jones.com › blog › managing-multiple-versions-of-java-on-os-x
Managing multiple versions of Java on OS X · Andrew Jones
September 10, 2014 - You can set a default version using jenv global [version], and show the full path to the Java executable by running jenv which java.
🌐
Adam Gamboa G
blog.adamgamboa.dev › using-jenv-to-switch-jkd-versions
Using jEnv to switch JDK versions
December 24, 2021 - jenv global shows the current version used by jenv
🌐
Linux Command Library
linuxcommandlibrary.com › man › jenv
jenv man | Linux Command Library
jenv add /opt/jdk-17 jenv global 17 jenv local 11 # per-project .java-version file created java -version # shows JDK 17
🌐
MungingData
mungingdata.com › java › jenv-multiple-versions-java
Running Multiple Versions of Java on MacOS with jenv - MungingData
jenv makes it easy to run multiple versions of Java on a Mac computer. It also makes it easy to seamlessly switch between Java versions when you switch projects. Running multiple Java versions is important for Android and Apache Spark developers. Spark developers should use Java 8 for Spark ...
🌐
Medium
medium.com › @pranesh7 › java-version-management-with-jenv-cc79357180c9
Java version management with jenv | by Pranesh Satghare | Medium
December 2, 2025 - I installed jenv in a few minutes, ran a couple of commands, and suddenly… everything worked. No more PATH drama. No more “why is Java 17 showing when I’m in a Java 8 project?” No more breaking builds because my system forgot which version I told it to use yesterday.