Couldn't install netbeans 11.3 with Java 14 due to Error: Unsupported JVM version
Although Apache NetBeans 11.3 fully supports the use of JDK 14, unfortunately its installer does not. From the Apache NetBeans 11.3 download page:
The installers will not run under JDK 14 because usage is made of the
Pack200 Tools and API, for packing and unpacking, which is removed in
JDK 14, see JEP 367.
See JEP 367: Remove the Pack200 Tools and API for full details on why this change was made in JDK 14.
Your workarounds for this issue are:
- Instead of using the installer, download and unzip the zip of Apache NetBeans 11.3 (named netbeans-11.3-bin.zip) from the download page. This approach worked for me.
- Install a version of the JDK < 14, and you can then use the installer to install NetBeans 11.3 with that JDK. Once NetBeans 11.3 is installed you could edit netbeans.conf to make JDK 14 the default Java platform, or simply add it as a second Java platform using Tools > Java Platforms > Add Platform...
How to fix Netbeans IDE installation error?
I was able to solve this same issue by installing JDK version 13 instead of version 14.
apache netbeans 11.3 C++ plugin timeout, unable to install
Check the Java version
For me, I have Java version 14
So this version has no program
unpack200.exe
Problem was solved by copying the unpack200.exe file from Java version 1.8 to the bin folder in java 14
Can't create project on Netbeans 8.2
- You can solve your problem by deleting folder
JDK-9
. - Restart Netbeans.
- It will give you a message if you want to use the default version of JDK.
- Press
yes
orok
.
Or you can remove JDK-9
from your pc and install JDK-8
.
Related Topics
How to Whitelist App in Doze Mode Android 6.0
The Following Classes Could Not Be Instantiated: - Android.Support.V7.Widget.Toolbar
Tool for Creating a Java Daemon Service on Linux
Cross-Platform Way to Open a File Using Java 1.5
Inspecting Java Threads in Linux Using Top
How to Get Java to Use the Serial Port in Linux
Random Noclassdeffound Error in Web Application
What Are the Main Benefits of Using Mono Over Java
How to Unzip Files Programmatically in Android
Android Getting Value from Selected Radiobutton
Permission to Write to the Sd Card
Tomcat Doesn't Stop. How to Debug This
How to Get Desktop Class Supported Under Linux
What Determines the Current Working Directory of Tomcat Java Process