Monday, November 2, 2015

Managing multiple Java versions in Mac

As java developer you may have to deal with more than on version of the JDKs. Therefore you might have to switch with JDK 1.8 to 1.7 and vice versa!!

Jenv allow you to manage your java version very easily.

1) Install Home brew
2) Install Jenv
3) Configure your Jenv
4) Put relavent alias to invoke Jenv!

You are done!!!!

In .bash_profile file my alias to invoke the jenv

PS- i really do not want to rewrite what Jenv does. Please read on Jenv :)