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)
Related
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?
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.
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.
I run a new Mac with OS Sierra Version 10.12.1, installed Java 8.111 which is recognised successfully by the test program and eventually installed eclipse neon 4.2. But when I try to start it, I get the message "To open “Eclipse” you need to install the legacy Java SE 6 runtime". There is a link to the site "https://support.apple.com/kb/DL1572?locale=en_US" dated from July 22 2015 and telling to install java for OSX 2015-01 for the OS 10.7 to 10.11. There is also a link with explanation starting with a warning, that this information is about an older unsupported Java version, Download the latest version of Java for OS X directly from Oracle. There is some information hard to understand ( why should Java 6 be installed, since it is deprecated and even dangerous?)
Since I didn't find any other mean and thought the page was maybe not updated I installed the tool, but the launch eclipse still stops unexpectedly with an error report.
Thanks for ideas to overcome this
Like #greg-449 pointed out, install Java 8 JDK (not JRE) to get Eclipse Neon running on macOS Sierra.
Do not install Java 6. I tried that, and got an error message saying Java 8 is needed.
I have uninstalled netbeans 8 and installed 7.0.1 version. After Installation when I open it the screen says "Loading cached modules" and closes automatically, No error shown.
I tried deleting the folder in user/appdata/local/netbeans but yet it didn't work (Netbeans 7.1 won't open).
Running Win 7 64
Check Which Java version you used ? if Java 8, uninstall and install Java 7 then try.