[
https://issues.jboss.org/browse/WFCORE-3962?page=com.atlassian.jira.plugi...
]
Rostislav Svoboda edited comment on WFCORE-3962 at 8/1/18 4:11 AM:
-------------------------------------------------------------------
I had to edit jboss-eap-7.2/domain/configuration/host.xml to add ({<option
value="--add-modules=java.se"/>}} into {{<jvm-options>}} section
From command line I can adjust only host controller and process
controller java opts.
I think we have bigger problem than we thought, we will need to detect java version in
code and adjust {{jvm-options}} programmatically for domain use-case.
CCing [~jmesnil], [~kabirkhan] and also [~brian.stansberry] (you will need to wait extra 5
years before people stop bothering you about wf core stuff ;))
Starting WFLY scripts with JDK 11 blows up with
ModuleNotFoundException java.se
-------------------------------------------------------------------------------
Key: WFCORE-3962
URL:
https://issues.jboss.org/browse/WFCORE-3962
Project: WildFly Core
Issue Type: Bug
Components: Modules
Affects Versions: 6.0.0.Alpha3
Reporter: Matej Novotny
Priority: Blocker
Labels: Java11, blocker-WF14
As per request, copying MODULES-372 to WFCORE as well.
Starting WFLY with JDK 11 using {{standalone.sh}} yields:
{code}
org.jboss.modules.ModuleNotFoundException: java.se
at org.jboss.modules.Module.addPaths(Module.java:1266)
at org.jboss.modules.Module.link(Module.java:1622)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296)
at org.jboss.modules.Main.main(Main.java:437)
{code}
Output of {{java -version}}:
{code}
openjdk version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+21)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+21, mixed mode)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)