DEV Community

Discussion on: Managing JDKs in MacOS

Collapse
 
nikos_katsanos profile image
Nikos Katsanos

Hello Rèmi, thank you for suggesting. Seems like managing JDKs in a Mac/Dev machine is a general concern. jevn looks promising as well. Pretty sure this and http:// sdkman.io as suggested above will be much better than my hacky scripts :)

Collapse
 
shostarsson profile image
Rémi Lavedrine

I explained how I made it in that Post :

It is basically :

brew install jenv
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(jenv init -)"' >> ~/.bash_profile
source ~/.bash_profile