I used the Netbeans "7.3.1". Previously I used the JDK "1.7.0_25". Now I installed the new jdk(1.7.0_45) and changed the path settings in environmental variables also. But Netbeans still pointing to the JDK "1.7.0_25". For changing this , I used this link as reference. But I am unable to save that file. Plz anyone help on this.
As Frank pointed out in his provided answer that you are linking:
You may need Administrator privileges to edit netbeans.conf
on windows 7 with user picary you can try this: put the etc/netbeans.conf file into C:\\Users\\PICARY\\AppData\\Roaming\\NetBeans\\7.3 and C:\\Users\\PICARY\\AppData\\Local\\NetBeans\\Cache\\7.3
Open that config file and change your java installation to netbeans_jdkhome="C:\\Program Files\\Java\\jdk1.7.0_45
To change the JDK trajectory in netbeans you must do the following.
You enter the directory where netbeans is installed. For example, C: \\ Program Files \\ NetBeans-xx \\ netbeans \\ etc
and in the file
netbeans.conf
update the line netbeans_jdkhome
= "insert the jdk path"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.