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)
Michael
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.
来源:https://stackoverflow.com/questions/10146819/in-netbeans-how-do-i-change-the-default-jdk