In NetBeans how do I change the Default JDK?

Hrfpkj picture Hrfpkj · Apr 13, 2012 · Viewed 121.1k times · Source

Possible Duplicate:
Changing Java platform on which Netbeans runs

Here is an image of my default JDK (which is 1.6) and the JDK I want to set as default (which is 1.7)

http://tinypic.com/view.php?pic=35ldlye&s=5

Answer

Michael picture Michael · Apr 13, 2012

If I remember correctly, you'll need to set the netbeans_jdkhome property in your netbeans config file. Should be in your etc/netbeans.conf file.