简体   繁体   中英

netbeans won't start after changing netbeans.conf

I am working with netbeans on windows8. I have decided to change my jdk. So I Uninstalled jdk 7 and installed jdk 8 properly. Then according to this link: How to set the JDK Netbeans runs on? I changed netbeans.conf.

But now I can't make netbeans start.

What should I do?

and here's my netbeans.conf after changing:

netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/7.2"
netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/7.2"

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true"

netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_05"

It's possible that NetBeans 7.2 doesn't work with Java 8 as it was only tested with Java 6 and 7 when it was released. Update to newer version (8.0.1 at the moment).

Also you may want to inspect log file to see if there is some hint ( var/log/messages.log in userdir).

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM