I am on OSX 10.8
when I say which javac
it will print out this:
/usr/bin/javac
I Googled about setting JAVA_HOME
and I see people saying I should do this: ( I want Java 6.0 instead of 7 too )
export JAVA_HOME=`/usr/libexec/java_home -v 1.6`
so is that ALL I need to do? I see some places say then I should also set the PATH ?