Search code examples
javanetbeans

How to fix error while installing NetBeans?


I have installed Java and am trying to install NetBeans 11.3 on my Windows 10 but after I ran the exe. installer, an error message popped up:

An unexpected exception happened in thread main java.lang.NoClassDefFoundError java/util/jar/Pack200


Solution

  • NetBeans have problems with the jdk-14, because I suppose that you have install the jdk-14 so uninstall it and try it with the jdk-13.0.2.