Netbeans 6.1, Java 6 and Mac OS
By leroyk on Mar 26, 2008
One of my customer was having an issue running Netbeans 6.1 beta on Mac OS with Java 6. Here is his response on how he resolved the SDK error issue. Thanks Rica.
Just wanted to let you know that I have finally found a way to run NB 6.1 Beta with Apple's Java 6SE DP9. The reported error on gui wizards was due to some Java 6 classes that were loaded into Java 5.
The trick is simple: go to the install directory of NB6.1 and point the netbeans_jdkhome variable to Java 6. In my case the configuration file is:
/Applications/NetBeans/NetBeans 6.1 Beta.app/Contents/Resources/NetBeans/etc/netbeans.conf
The line that needs to be modified is this:
# Default location of JDK, can be overridden by using --jdkhome