You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Javier Llorente (Jira)" <ji...@apache.org> on 2022/03/29 19:15:00 UTC

[jira] [Commented] (NETBEANS-3273) Cannot run Payara 5 under JDK 8

    [ https://issues.apache.org/jira/browse/NETBEANS-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514287#comment-17514287 ] 

Javier Llorente commented on NETBEANS-3273:
-------------------------------------------

I can reproduce this issue with NetBeans 13 and Payara 5.2022.1 using JDK 8.

Payara 5.2022.1
NetBeans 13
{color:#000000}OpenJDK Runtime Environment (IcedTea 3.22.0) (build 1.8.0_322-b06 suse-1.1-x86_64){color}
{color:#000000}openSUSE Tumbleweed{color} {color:#000000}20220310{color}


{code:java}
Error:
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.{code}

Workaround: use JDK 11.

> 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, 12.4, 12.6, 13
>            Reporter: Stephen Parry
>            Priority: Major
>
> 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.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists