Search code examples
javanetbeansnetbeans-8.2

JDK was not found on the computer for netbeans 8.2


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 someone know what I can do about this? Thanks.


Solution

  • 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