java.xml/ - Regular Expression Tool


How to run "java.xml/" tool from JDK lib\modules JImage file?

✍: FYIcenter


"java.xml/" tool allows you to perform a regular expression match on a given string.

"java.xml/" tool is supported by the jmods\jdk.xml.jmod module file, which is also linked into the lib\modules JImage file.

java.xml/" tool using the lib\modules JImage file as described below:

fyicenter> %JDK_HOME%\bin\java --module java.xml/

Error:Usage: java REUtil -i|-m|-s|-u|-w|-X regularExpression String

fyicenter> %JDK_HOME%\bin\java --module java.xml/ o "Hello world!"

RegularExpression: o
Matched range for the whole pattern: 4, 5, "o"


jdk.compiler/ - DocLint Tool

java.scripting/ - JavaScript Shell

Tools Supported from JDK 9+ lib\modules JImage

⇑⇑ FAQ for JDK (Java Development Kit)

2019-10-18, 1361🔥, 0💬