I am using Netbeans 6.7. I had first installed Java 1.5 before installing Netbeans. When i installed Netbeans it took Java 1.5 as the default version. Then i installed Java 1.6 on my machine. I need to change the default JDK of my netbeans to 1.6 not only to a specific project but to the whole Netbeans application.
+1
A:
Hi,
You can change the JDK for Netbeans by modifying the config file. Open netbeans.conf file available under etc folder. Modify the netbeans_jdkhome variable to point to new JDK path. and then restart your Netbeans.
Regards,
Abdel Olakara
Abdel Olakara
2010-05-11 09:26:43
A:
open etc folder in netbeans folders then edit the netbeans.conf with notepad and you will find a line like this :
Default location of JDK, can be overridden by using --jdkhome :
netbeans_jdkhome="G:\Program Files\Java\jdk1.6.0_13"
here you can set your jdk version.
M.H
2010-05-11 09:54:02