How to switch JDK version on Mac OS X - Jayway
Thanks man! I was running something like export JAVA_HOME=java_home -v 1.6, but the scripts also takes care of the PATH so it’s definitively more convenient. For those which, like in my case, don’t have ~/.bash_profile, you can also add it like an script ...