Friday, March 31, 2006
Using Java 1.5 for Netbeans on Mac OS X
One slightly annoying thing about Mac OS X tiger is that default Java VM is 1.4. That is fine usually but when you launch Netbeans you're stuck with 1.4. So if you want Java 1.5 for use with Netbeans make sure you download Java 1.5 from Apple and then you need to edit the file NetBeans.app/Contents/MacOS/netbeans. In the file you'll need to set or replace "$netbeans_jdkhome" with "/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home " which is the not so obvious home for Apple's 1.5 JDK.