You need to install the jenv maven plugin, try the following command and reload your shell:

jenv enable-plugin maven

Answer from tenfourty on Stack Overflow
🌐
Jenv
jenv.be
jEnv - Manage your Java environment
$ jenv versions system oracle64-1.6.0.39 * oracle64-1.7.0.11 (set by /Users/hikage/.jenv/version)
🌐
GitHub
github.com › jenv › jenv
GitHub - jenv/jenv: Manage your Java environment · GitHub
This is an updated fork of jenv, a beloved Java environment manager adapted from rbenv.
Starred by 6.6K users
Forked by 398 users
Languages   Shell 99.0% | Dockerfile 1.0%
🌐
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.
🌐
Medium
medium.com › @pranesh7 › java-version-management-with-jenv-cc79357180c9
Java version management with jenv | by Pranesh Satghare | Medium
December 2, 2025 - Install Jenv on your Mac or Linux with the help of following link https://www.jenv.be/
🌐
Homebrew
formulae.brew.sh › formula › jenv
Homebrew Formulae: jenv
brew install jenv · Manage your Java environment · https://github.com/jenv/jenv · License: MIT · Development: Pull requests · Formula JSON API: /api/formula/jenv.json · Formula code: jenv.rb on GitHub · Bottle (binary package) installation support provided.
🌐
Bekk Christmas
bekk.christmas › post › 2022 › 16 › java-versions-are-easier-with-jenv
Java versions are easier with jEnv | Bekk Christmas
November 7, 2024 - Java comes in many versions, if not colors. Different projects and dependencies might rely on different versions. This is where jEnv comes in!
Find elsewhere
🌐
Whywhathow
whywhathow.github.io › jenv
JEnv - Java Environment Manager
JEnv uses symbolic links to manage multiple Java versions efficiently. When you switch versions, JEnv updates the symlink to point to the desired JDK installation.
🌐
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.
🌐
DEV Community
dev.to › gowtham_softworth › how-to-install-jenv-using-command-prompt-mj2
How to install JEnv using command prompt - DEV Community
April 18, 2023 - $ 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 for Mac Users /usr/libexec/java_home/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
🌐
GitHub
github.com › WhyWhatHow › jenv
GitHub - WhyWhatHow/jenv: Java Environment Mananger, build by Go.Currently work for windows, linux & macos. · GitHub
Jenv is a command-line tool for managing multiple Java versions on your system.
Starred by 48 users
Forked by 8 users
Languages   Go 40.2% | HTML 31.6% | JavaScript 15.4% | CSS 9.2% | Python 3.6%
🌐
GitHub
github.com › jenv › jenv › issues › 300
Enhance `jenv versions` by showing the full path to each version · Issue #300 · jenv/jenv
July 7, 2020 - I've got multiple versions of the JDK installed - sometimes both an OpenJDK and Oracle implementation of the same version. When I use jenv versions, it would be nice to see the full path to the JDK in order to easily determine which is w...
Author   jenv
🌐
Viqueen
viqueen.org › blogs › Using-jEnv-for-managing-my-Java
Using jEnv for managing my Java
March 25, 2020 - Set it up I am on mac, and use bash brew install jenv echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bashrc For other ways to install it, please refer to Configure it jEnv comes with a bunch of plugins, you can list them out jenv plugins I use maven as my main build tool, but we also have ...
🌐
Wordpress
softwaretribbleations.wordpress.com › 2017 › 08 › 03 › jenv
Jenv – Software Tribbleations
August 3, 2017 - Today I discovered Jenv. http://www.jenv.be/ It is a Java environment tool that is easily installed and configured with a few terminal commands. It can be installed with Homebrew on mac.
🌐
President
journal.president.ac.id
Expose: Jurnal Ilmu Komunikasi - President University
(JENV) has been published since 2016, and managed by the Department of Environmental Engineering, Faculty of Engineering, President University in collaboration with Indonesian Environmental Scientists Association (IESA) and Indonesia Expert Network for Climate Change and Forestry (APIK Indonesia ...
🌐
Velog
velog.io › @geun › Setting-jenv로-여러-Java-버전-사용관리하기-For-Mac-g20bsd7e
[Setting] jenv로 여러 Java 버전 사용/관리하기 (For Mac)
January 15, 2023 - $ jenv > jenv 0.5.5 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.