Netbeans IDE - invalid jdkhome specified

Jiří Mačák picture Jiří Mačák · Oct 10, 2016 · Viewed 18.9k times · Source

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

Answer

CY15 picture CY15 · May 22, 2017

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