This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Although the Java Default Platform selected in OSX Java Configuration Tool is Java 1.6, NetBeans always selects Java 1.5 as its default Platform when installing a new version. java -version using the terminal returns: --- Java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) --- NetBeans seems to use the wrong way to select the correct platform. Maybe it tries to figure out the default VM by checking the symlinks in /System/Library/Frameworks/JavaVM.framework/Versions? If this is the case it would be fatal because changing these symlinks to a newer JVM results in a crash. I checked this with the latest OSX Installation. Either Apple changed the way for saving the current configuration and the symlink is deprecated and now only for internal usage or it is a OSX Bug. There are two Netcat 67 Threads about this topic: [67cat] [other] Wrong default Java Platform on Mac OSX? [67cat][core] Segmentation fault and SystemUIServer crash in netbeans executable on OS X
Not related to the Java platform manager (default platform). The default platform is a platform the IDE was started on. If you want to change it you can edit the JDK used to run the IDE in ${netbeans.home}/etc/netbeans.conf. >NetBeans always selects Java 1.5 as its default Platform when installing a new version. Seems to related to NB installer.
I did no not have this problem anymore. This could be because: - It has been fixed in Snow Leopard - It has been fixed with the new Java Version or - It has has been fixed in the new NetBeans 6.8. I would recommend to close the bug since it now works for me.
Thanks for confirming. Closing as WFM.