Java SE Development Kit not found on this computer - java

I had netbeans 8.1 installed on my PC (windows 8.1) with JDK version 8. I uninstalled netbeans 8.1 and then installed netbeans 8.2. After installation I ran it and everything worked fine.
After installing netbeans 8.1, I uninstalled JDK 8 and then installed JDK 9.
After installing JDK 9, when I tried to run NetBeans again, it gave me error that
Java SE Development Kit not found on this computer
I looked it up on the internet and came to know that cause of this error was that when NetBeans 8.2 was installed with JDK version 8, NetBeans was configured to use JDK 8. So when JDK 9 was installed, NetBeans couldn't find the JDK 8 which it was configured to use by default and hence this error was thrown.
I then uninstalled NetBeans again and then when I tried to run its setup again, it gave me the same error. Now I can't even run the NetBeans setup.
Can someone suggest a solution to this problem?
PS. I have already added JDK 9 to environment path variable.

So after some searching i have come to know that for netbeans 8.2, you need JDK 8 because JDK 8 is required to use JavaFX 8 features in NetBeans IDE 8.2.
After installing JDK 8, Problem was fixed.

Related

Cannot Uninstall Apache Netbeans 11.2 on Windows 10

Exception:
java.lang.NoClassDefFoundError:
java/util/jar/Pack200
This error occur when I tried to uninstall Apache Netbeans 11.2. I've tried to uninstall it using Windows' "Add and Remove" setting and CCleaner. Both show same error. I've tried look into other stackoverflow questions regarding this issue but their issues are different from mine.
I had JDK 8 installed and then I installed Apache Netbeans 11.3. After
I wanted to update the JDK and uninstall JDK 8 and install JDK 16. Then
I wanted to update Netbeans and I tried to uninstall Netbeans 11.3, but I
couldn't, I got the same error mentioned above, fix it as follows
1.- Uninstall the JDK 16
2.- Install the JDK 8 again
3.- Uninstall Netbeans 11.3 (this time I got it)

How to configure Apache NetBeans with JDK 12 (sdkman) on MacOs

I'm trying to install NetBeans on macOS Mojave - I want to work with the Matisse GUI builder.
I installed Open JDK 12 via SDKMan. Then I ran this installation script, which the Apache NetBeans docs refer to.
However, after installation NetBeans didn't start. I downgraded to Open JDK 11 via SDKMan, but it also didn't work.
Any ideas how to debug the problem? Anyone used NetBeans with a recent JDK version (10+) on MacOS?

Netbeans installer does not find JRE but it is installed

I am trying to install Netbeans but it gives me this error:
The is no JRE at the location C:\Program Files\Java\jdk11.0.2
I have tried specifying --javahome argument to the installer but still nothing and it is installed as you can see in the snippet attached.
Thanks!!
Netbeans 8 does only support java 8, better upgrade to Netbeans 10 which works with Java 11.

Java SE Development Kit (JDK) was not found by NetBeans 8.2 Installer

I got this error message when trying to install NetBeans 8.2 in Windows 10 64-bit.
Java SE Development Kit (JDK) was not found on this computer
I installed the JDK, and set the bin directory in the environment.
I had the same problem when I first tried to install Netbeans 8.2. I had JDK 11 installed and I tried everything but was not successful. The problem was with Netbeans 8.2 as it does not support JDK above 9. So I installed JDK 8 and it solved the problem for me. You should try this.

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 someane know what i can do about this?
Thanks.
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
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"
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

Categories