How to fix Netbeans IDE installation error?

Viewed 23476

I'm trying to install Apache Netbeans IDE on my Windows 10, then I encountered this problem "Critical Error- An unexpected exception happened in thread main. Exception: java.lang.NoClassDefFoundError: java/util/jarPack200"

Critical Error

After I click the Ok button another Error popped up

"Apache Netbeans IDE Installer- An error occurred while running java process Qt: Untested Windows Version 10.0 detected!"

Apache Netbeans Error

I also installed the latest JDK, and my Windows also updated before I tried to install Netbeans, I don't know what's causing the problem, if its the JDK or my Windows.

I tried searching on google for this problem but there's no result on how to fix this.

Apache Netbeans 11.3 Java SE Development Kit 14

8 Answers

I was able to solve this same issue by installing JDK version 13 instead of version 14.

I have had the same problem and now that I have solved it, I would like to share it with you.

I'm not sure if this is your problem but in my case was that I was tried to install

Java JDK 14 and Apache NetBeans 11.3

And the problem was the Java Version of JDK, download the 11 JDK, and install.

And that's all, it works .

My Solution: First replaced jdk-14 files by jdk-13. Installed Apache NB. Then restored files of jdk-14. NB installer does not support jdk-14 (but NB 11.3 itself supports jdk-14)

In my case, the error occurred because I had installed the JDK version 14. By installing version 11 the error was fixed.

Instead of using the installer, you can download the zip file of the Netbeans found here! and then use it with JDK 14.

Downloading JDK version 11 fixed this issue. It was also stated in the oracle site about JDK version 14 that they have an issue.

Alternatively now you can download the ApacheNetbeans 12.0(LTS) from netbeans.apache.org which now permits installation with JDK 14(in previous versions it was not so due to some packages which were removed in JDK 14)

go on your panel control and see if you have a previous version of NetBeans. You should uninstall the previous version and install the new

Related