JDK was not found on the computer for netbeans 8.2

17k Views Asked by At

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.

3

There are 3 best solutions below

0
On BEST ANSWER

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

0
On

Your computer is 64bit. so your jdk should be in Program Files not Program Files(x86)

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

JDK 8 was the latest version at time of NetBeans 8.2 is developed. For that reason, JDK 8 is required for installing and running all NetBeans Bundles of version 8.0 - 8.02. They do not run on JDK 9 or later.

Download JDK 8
Download latest version of NetBeans