Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix Netbeans IDE installation error?

Tags:

java

qt

netbeans

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

like image 750
Dids Avatar asked Mar 19 '20 07:03

Dids


People also ask

Why NetBeans is not opening in Windows 10?

Try restarting NetBeans once you have saved your change to netbeans. conf. If that doesn't work then locate the NetBeans log file, and update your question with the changes logged to it when you attempt to start NetBeans.

Can you install NetBeans without JDK?

You don't need to install the Java version that comes with Netbeans. You just need to select the Java installation you want to use in the Netbeans installer.

How do I fix build failed error in NetBeans?

Solution to my problem: Remove MinGW and ALL of it's components, and also remove the folder x:\MinGW. Then install Cygwin, choose the packages you need, tutorial can be found on https://netbeans.org/community/releases/73/cpp-setup-instructions.html#cygwin or YouTube about which packages you need.


3 Answers

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

like image 192
Shawn Wilson Avatar answered Oct 22 '22 04:10

Shawn Wilson


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 .

like image 39
Francisco De la cruz lucas Avatar answered Oct 22 '22 04:10

Francisco De la cruz lucas


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)

like image 1
Masud Tarek Avatar answered Oct 22 '22 03:10

Masud Tarek