Multiple Java Versions in MacOS
Mac에서 여러개의 Java version을 관리하기
References: jenv.be, how-to-manage-multiple-java-version-in-macos
Install Java version manager - jenv
Add followings to shell config file - ~/.zshrc
And then run source ~/.zshrc
of course
Run following commands (if you are using maven)
Install different JDK versions
See all the installed JDK versions in your machine
Add to jEnv
each of the JDK you installed by the following command
See whether all the versions you add are available in the jEnv
Setting system-wide Java version
Setting project-wide Java version
Setting shell instance Java version
Checking current Java version
Last updated