[wildfly-dev] Equivalent to -Xbootclasspath/p:jboss-logmanager-2.0.7.Final.jar in Java 9

Fabian Stäber fabian at fstab.de
Tue Sep 26 17:18:30 EDT 2017


Hello,

sorry if this is the wrong place to ask, but I am trying to run a Java agent with Wildfly 11 and Java 9. In previous Java versions, I had to add -Xbootclasspath/p:jboss-logmanager-2.0.7.Final.jar to JAVA_OPTS to make sure the Wildfly java.util.logging.manager implementation is available to the agent.

I understand that in Java 9 the -Xbootclasspath/p option is replaced with the --patch-module option. However, I am having trouble to figure out how to use this option.

What is the equivalent to -Xbootclasspath/p:jboss-logmanager-2.0.7.Final.jar is in Java 9 with Wildfly 11?

Thanks a lot
Fabian


More information about the wildfly-dev mailing list