Stephen Parry created NETBEANS-3273:
---------------------------------------
Summary: Cannot run Payara 5 under JDK 8
Key: NETBEANS-3273
URL: https://issues.apache.org/jira/browse/NETBEANS-3273
Project: NetBeans
Issue Type: Bug
Components: serverplugins - GlassFish
Affects Versions: 11.1, 11.2
Reporter: Stephen Parry
On Linux (not sure about other platforms), running Payara using JDK 8 gives the
following error on Services -> server -> Payara -> start:
Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Steps to reproduce:
# Ensure host system has JDK 11 (as default) and JDK 8 installed
# Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all
modules
# Use platform manager to add JDK 8 as new platform.
# Add a Payara 5.192 or 5.193 server
# Services -> Server -> Payara Server -> Properties -> Java -> Java Platform:
JDK 8 -> Close
# Services -> Server -> Payara Server -> Start
Expected behaviour:
Successful startup messages in Payara Server console
Actual behaviour:
Failure messages in Payara Server console:
Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
This is a known issue in the original Payara eclipse plugin tooling, see:
[https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists