[英]Couldn't install netbeans 11.3 with Java 14 due to Error: "Unsupported JVM version"
I'm trying to install netbeans with Java 14.我正在尝试使用 Java 14 安装 netbeans。
I'm getting below error -我收到以下错误 -
> sudo ./Apache-NetBeans-11.3-bin-linux-x64.sh --javahome /home/raj/.sdkman/candidates/java/current
Configuring the installer...
Searching for JVM on the system...
Unsupported JVM version at /home/raj/.sdkman/candidates/java/current.
Try to specify another JVM location using parameter --javahome
Below are my java details -以下是我的 Java 详细信息 -
> which java
/home/raj/.sdkman/candidates/java/current/bin/java
> java --version
openjdk 14 2020-03-17
OpenJDK Runtime Environment (build 14+36-1461)
OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)
My OS Details are -我的操作系统详细信息是 -
> lsb_release -a
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: openSUSE
Description: openSUSE Leap 15.1
Release: 15.1
Codename: n/a
How can I fix this problem?我该如何解决这个问题?
Although Apache NetBeans 11.3 fully supports the use of JDK 14, unfortunately its installer does not.尽管 Apache NetBeans 11.3 完全支持使用 JDK 14,但不幸的是它的安装程序不支持。 From the Apache NetBeans 11.3 download page :
从Apache NetBeans 11.3 下载页面:
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.
安装程序不会在 JDK 14 下运行,因为使用 Pack200 工具和 API 进行打包和解包,在 JDK 14 中已删除,请参阅 JEP 367。
See JEP 367: Remove the Pack200 Tools and API for full details on why this change was made in JDK 14.有关在 JDK 14 中进行此更改的原因的完整详细信息,请参阅JEP 367:删除 Pack200 工具和 API 。
Your workarounds for this issue are:您针对此问题的解决方法是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.