James' Blog

James’ personal blog
Previous Post: Upgrading JAVA on Mac OS X (to 1.6)   Next Post: XML parsing trouble with & (aka ampersand, &)

Set Default JDK on Netbeans on Mac OS X

As shown here

Just to sumarize, there is a netbeans.conf file that needs to be modified.  You can Ctrl-Click on the netbean app file to access the directory behind it from Finder.  Also, I just set it to the current JDK as follows:

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

so that it always uses the most recent JDK.

Posted in JAVA 8 months, 1 week ago at 12:50 pm.

Add a comment

No Replies

Feel free to leave a reply using the form below!


Leave a Reply