Netbeans 8.0.2 shows this error on startup Netbeans 8.0.2 error on startup. I searched for this error, but nothing works for me.
I modified the netbeans_jdkhome in netbeans.conf
file, but nothing. Then uncommented it, nothing. The error keeps showing up. It´s like there is another netbeans.conf file, but I don´t know where.
I´m running Windows 10 and have JDK 1.8 installed in "C:\Program Files\Java\jdk1.8.0_101" .
go to C:\Program Files\NetBeans 8.0.2\etc
, open the file netbeans.conf
then change netbeans_jdkhome
to the path of your JDK, netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_101"
if you are not sure about the version of jdk
, you can find it by typing in CMD java -version
You may have a problem getting your edit to stick because you need Administrator Privilege to edit the netbeans.conf file.
Windows 10:
I found a decent solution for Windows users.
Go to your NetBeans install folder (for instance: C:\Program Files\NetBeans 8.0.2\etc
), open the file netbeans.conf
then just comment out the line:
netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_101"
to
#netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_101"
The '#' is for comment. You will see this in the file.
Then just run the NetBeans IDE as usual.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With