[
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:
-------------------------------------------------------------------
Here is PR for GC logging -
https://github.com/wildfly/wildfly-core/pull/3403/files
The idea of detecting Java version
{code}$JAVA --add-modules java.se -version > /dev/null || JAVA_9_PLUS=no{code}
and adjusting JAVA_OPTS {code}--add-modules java.se{code} can be applied to fix this issue
for all affected scripts
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)