Java 6 as default in NetBeans 6.5 on Mac OS X 10.5

Saturday, November 15, 2008

If you've installed Java 6 SE on Mac OS X "Leopard" and you want to use it as the default Java version in a NetBeans 6.5 installation, you can do as follows:

- go to Applications>NetBeans and select to show the content of the NetBeans 6.5 xxx.app
- go to Contents/Resources/NetBeans/etc directory
- edit the file named netbeans.conf and change the netbeans_jdkhome entry as follows:

netbeans_jdkhome=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

Save and exit.
Start NetBeans.

You Might Also Like

3 commenti

Subscribe