HsnVahedi
HsnVahedi

Reputation: 1366

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"

Upvotes: 1

Views: 1279

Answers (1)

Radim
Radim

Reputation: 4808

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).

Upvotes: 2

Related Questions