🌐
GitHub
github.com › jenv › jenv
GitHub - jenv/jenv: Manage your Java environment · GitHub
$ jenv add /Library/Java/JavaVirtualMachines/openjdk-8.jdk/Contents/Home/ openjdk64-1.8.0.222 added 1.8.0.222 added 1.8 added $ jenv versions * system 1.8 1.8.0.222 openjdk64-1.8.0.222 21 21.0 21.0.2 openjdk64-21.0.2
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 · $ jenv versions system oracle64-1.6.0.39 * oracle64-1.7.0.11 (set by /Users/hikage/.jenv/version)
🌐
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 - jenv add /opt/homebrew/Cellar/openjdk@17/17.0.8.1/libexec/openjdk.jdk/Contents/Home/ ... Verify that all the intended versions are correctly added to jEnv.
🌐
Baeldung
baeldung.com › home › java › managing multiple jdk installations with jenv
Managing Multiple JDK Installations With jEnv | Baeldung
May 2, 2025 - To demonstrate using multiple JDKs, let’s install one more JDK version – 11 and configure it with jEnv: $ jenv add /Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home/ openjdk64-11.0.15 added 11.0.15 added 11.0 added 11 added
🌐
MungingData
mungingdata.com › java › jenv-multiple-versions-java
Running Multiple Versions of Java on MacOS with jenv - MungingData
Add Java 8 to jenv with jenv add /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/. Set the global Java version on your computer with jenv global openjdk64-1.8.0.265. The exact command on your machine might be something slightly different like jenv global openjdk64-1.8.0.272.
🌐
Bring
developer.bring.com › blog › configuring-jenv-the-right-way
Configuring jenv the right way – Bring Developer
July 27, 2018 - You mostly only will need to use jenv local to set the java version for your project. You may cd to your project directory and type ... With this command, a .java-version file gets auto created in your project directory. You may opt to add this file in .git-ignore list (if you want).
🌐
Rob Allen
akrabat.com › using-jenv-to-select-java-version-on-macos
Using jenv to select Java version on macOS – Rob Allen
December 2, 2020 - $ jenv add /Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home/ $ jenv add /Library/Java/JavaVirtualMachines/adoptopenjdk-12.jdk/Contents/Home/ $ jenv add /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ The exact versions depend on what you have installed.
🌐
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 - jenv add /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home ... Do this for all the versions you want to have available in jEnv.
🌐
Mehmet Baykar
mehmetbaykar.com › home › macos › how to set up jenv on macos
How to Set Up jEnv on macOS | Mehmet Baykar
December 27, 2025 - After installing the Java versions, you must create symbolic links in /Library/Java/JavaVirtualMachines/, which is the standard location for JDK installations on macOS. This allows jenv and other tools to recognize the installed JDKs. Now that the symbolic links are set up, you can add the Java versions to jEnv:
🌐
Atevans
atevans.com › 2019 › 04 › 26 › jenv-and-java-versioning.html
atevans - Jenv and Java Versioning
April 26, 2019 - Multiple versions means you need a version manager, and it looks like jenv is Java’s version manager manager. $ brew install jenv $ eval "$(jenv init - zsh)" $ jenv enable-plugin export $ jenv add $(/usr/libexec/java_home) $ jenv versions * system (set by /Users/andrewevans/.jenv/version) 12 openjdk64-12
Find elsewhere
🌐
GitHub
github.com › FelixSelter › JEnv-for-Windows
GitHub - FelixSelter/JEnv-for-Windows: Change your current Java version with one line · GitHub
Add a new Java environment (requires absolute path) jenv add <name> <path> Example: jenv add jdk15 D:\Programme\Java\jdk-15.0.1 · Change your java version for the current session jenv use <name> Example: jenv use jdk15 Environment var for ...
Starred by 916 users
Forked by 106 users
Languages   PowerShell 97.1% | Batchfile 2.9%
🌐
Adam Gamboa G
blog.adamgamboa.dev › using-jenv-to-switch-jkd-versions
Using jEnv to switch JDK versions
December 24, 2021 - $ 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 · Finally, let’s enable some plugins to make ...
🌐
They
they.es › posts › jenv-easily-manage-multiple-java-versions
JEnv - Easily Manage Multiple Java Versions
March 23, 2021 - As you can see, the system wide version of Java can be set in a file ~/.jenv/version. There is also a utility command provided by JEnv jenv global <version> which will set the system version. For a specific project you can add a .java-version file into the root directory of a project and JEnv ...
🌐
Medium
medium.com › @pranesh7 › java-version-management-with-jenv-cc79357180c9
Java version management with jenv | by Pranesh Satghare | Medium
December 2, 2025 - Install Jdks which are required for project (Must be already installed on your laptop) Install Jenv on your Mac or Linux with the help of following link https://www.jenv.be/ ... jenv add /Library/Java/JavaVirtu...
🌐
DEV Community
dev.to › blaytenshi › installing-multiple-java-on-macos-managed-by-jenv-l6i
Installing (multiple) Java on MacOS managed by jEnv - DEV Community
October 7, 2024 - $ jenv versions * system (set by /Users/user/.jenv/version) 17 17.0 17.0.12 21 21.0 21.0.4 openjdk64-17.0.12 openjdk64-21.0.4 · $ java -version openjdk version "17.0.12" 2024-07-16 OpenJDK Runtime Environment Homebrew (build 17.0.12+0) OpenJDK 64-Bit Server VM Homebrew (build 17.0.12+0, mixed mode, sharing) ... This will add a .java-version file in the directory you're currently in so you can commit it as a part of your Java project.
🌐
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 add /usr/lib/jvm/java-14-openjdk-amd64/ openjdk64-14.0.1 added 14.0.1 added 14.0 added 14 added · Now check all available Java versions to jenv using command:
🌐
My Developer Journal
sunitc.dev › 2021 › 04 › 23 › how-to-run-multiple-java-version-in-your-local-environment-using-jenv
How To Run multiple Java Version in your local environment using JENV – My Developer Journal
April 23, 2021 - In this post we we see how we can ... using Jenv. For the demonstration purpose we will install three different versions of Oracle JDK in our local environment ... You can check the same by running the command – java -version For us, the default version is 16.0.1 · One crude way to switch Java versions is to keep updating JAVA_HOME environment variable, and add JAVA_HOME/bin ...
🌐
Will Warren
willwarren.com › 2023 › 11 › 28 › install-multiple-jdks-with-jenv-and-homebrew-on-macos
Install and Use Multiple JDKs with jenv and Homebrew on macOS | Will Warren
November 28, 2023 - brew tap homebrew/cask-versions brew search temurin # this will list all the versions you can install brew install --cask temurin17 temurin20 temurin21 # etc... ... jenv add /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home jenv add /Library/Java/JavaVirtualMachines/temurin-20...