JDK was not found on the computer for netbeans 8.2

florian de wulf picture florian de wulf · Aug 3, 2018 · Viewed 14.9k times · Source

I got the following message when opening netbeans that jdk has not been found on this computer. I have got the jdk installed, and set the bin directory in the environment. Btw, I am using Windows 10 pro 64 bit.

I have tried this in the command prompt.

C:\Users\admin\Downloads>netbeans-8.2-windows.exe --javahome "C:\Program Files (x86)\Java\jdk-10.0.2"

but then i get this message.

It's only the launcher stub.
OS: x64

Does someane know what i can do about this? Thanks.

Answer

sethsource picture sethsource · Aug 3, 2018

Java 8 is still the standard for now. Uninstall java 10 and install this and reset your env vars.

http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html