Netbeans can't find JDK and JRE

themaninblack :

I'm trying to install netbeans and it cannot locate the JDK folder. Things I've tried so far:-

I tried specifying the path in the installer asC:\Program Files\Java\jdk-11.0.1 as well as C:\Program Files\Java . I get an error saying JDK is not in the folder.

I tried installing from command prompt with netbeans-8.0.2-windows.exe --javahome "C:\\Program Files\Java\jdk-11.0.1". This removes the JDK error but I now get JRE not found error.

So I tried this netbeans-8.0.2-windows.exe --javahome "C:\\Program Files\Java\jre1.8.0_201". Now I get JDK not found error.

My PATH variable is C:\Program Files\Java\jdk-11.0.1 and the JAVA_HOME variable is C:\Program Files\Java\jdk-11.0.1 ; C:\Program Files\Java\jre1.8.0_201

Any help is appreciated. Thanks!

lalo :

Netbeans 8 does not run with JDK 11.

More info https://netbeans.org/downloads/8.2/

JDK 8 is required for installing and running the Java SE, Java EE and All NetBeans Bundles. NetBeans 8.2 does not run on JDK 9 or later

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

can't read /usr/lib/jvm/jdk1.8.0_60/jre/lib/rj.jar proguard netbeans

Netbeans installation doesn't find JDK

Where can I find old versions of the JDK and JRE?

Where can I find a particular version of the IBM JDK/JRE for Windows?

Intellij can't find JDK

Ballerina can't find JDK

Eclipse installer can't find jre

I can't install JRE and JDK on my Ubuntu 18.04 LTS

Where can I set the JRE/JDK which is used to run Netbeans besides the command line?

Android - Can't compile on JRE - Make sure Gradle is running on a JDK, not JRE

Can't find /dist directory in Netbeans 8

JRebel can't find Glassfish 5.1 (Netbeans)

Can't create project on Netbeans 8.2 with JDK 10

Eclipse can't find jdk installed with sdkman

Netbeans installer does not find JRE but it is installed

Maven doesn't use local JRE/JDK

netbeans can't find C++ header file in same directory

Why can't NetBeans & Java find Swing's contents?

Can't find javax.ws.rs package in jdk

How can I install Netbeans with JDK 10

Apache Tomcat startup does not find neither JDK or JRE

How can I make JDK 7 the default JDK in NetBeans?

Everything looks perfect, but Eclipse installer can't install it for a reason that it can't find the JDK

Flutter can't build App on Android because it can't find required tool in JDK installation

Intellij, target JRE vesion doesn't match project jdk version

Can't find Git or Cordova on your path (Windows/Netbeans), Can't find GitHub under AppData/Local, FIX 2015

Setting JRE in Netbeans

Change JRE in NetBeans project

JDK/JRE/JVM/Java SDK | What do they all mean? Sometimes you can develop with JRE and sometimes you need JDK?