Hello guys i know i've posting a lot about mac lately and setting up my environment to develop on java 1.6. after trying to set my etc/launch.conf like so
setenv JAVA_VERSION 1.6
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/
setenv CATALINA_BASE /Library/apache-tomcat6020
setenv CATALINA_HOME /Library/apache-tomcat6020
setenv CATALINA_TMPDIR /Library/apache-tomcat-6.0.20/temp
and with sodu i can't run my java with 1.6 it was still 1.5 so i found online some workarounds
rm Current*
ln -s 1.6.0/ Current
ln -s 1.6.0/ CurrentJDK
i works untill i restart the machine and then i cannot run eclipse no netbeans any more.Netbeans start and stop few seconds after and eclipse spit out error code =-1. I just want to come back to 1.5 and see.Java parameter behave the same way as NetBeans. i did the same link stuf for 1.5 by removing the current and create the new link, and updating /etc/launchd.conf to 1.5 no success after restarting the machine. java -version give 1.6.0_15 both on normal user and sudo. What do you think i should do? Thanks for reading