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.
On Mac Book Pro, where JDK 6 U13 is the default JDK, NetBeans configures JDK 1.5.0 as the default platform. This is confirmed by looking at: /Applications/Utilities/Java Preferences.app/Contents/MacOS/Java Preferences and java -version which shows: /Applications/Utilities/Java Preferences.app/Contents/MacOS >java -version java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03-196) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-77, mixed mode) Even after adding a new Java platform, there seems to be no intuitive way to change the default platform to JDK 6. This is really an irritating user experience OOTB.
That should be fixed in the latest daily builds. *** This issue has been marked as a duplicate of 159846 ***