I'm using Wildfly 14 and Java 11 in its runtime configuration. When I start the server I get
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)
How do I run Wildfly 14 with java 11?
There was some change in Java 11 where java.se must be read on the module path. In Wildfly's run configuration under VM arguments add
--add-modules=java.se
Should be fixed in later versions.