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 https://www.jenv.be/

Configure it

jenv plugins
jenv enable-plugin maven
jenv enable-plugin gradle
jenv enable-plugin export
jenv enable-plugin scala
jenv enable-plugin sbt
jenv enable-plugin lein
jenv enable-plugin ant

Use it

This may surprise a lot of people that know me, but the one time I like to poke around a UI, is to download my JDKs … also why I don’t use sdkman for those of you wondering.

I use the following two sources :

Once I download what I need, I register it on jenv; it also works for my locally modified JDKs