Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
jdk.jlink/jdk.tools.jmod.Main - "jmod" Command
How to run "jmod" command from JDK lib\modules JImage file?
✍: FYIcenter
"jmod" command allows you to to create and manage JMod files to store compiled Java class files of a single Java module.
"jmod" command is supported by the jmods\jdk.jlink.jmod module file, which is also linked into the lib\modules JImage file.
You can run the "jmod" command using the lib\modules JImage file as described below:
fyicenter> %JDK_HOME%\bin\java --module jdk.jlink/jdk.tools.jmod.Main --help Usage: jmod (create|extract|list|describe|hash) <OPTIONS> <jmod-file> Main operation modes: create - Creates a new jmod archive extract - Extracts all the files from the archive list - Prints the names of all the entries describe - Prints the module details hash - Records hashes of tied modules. Option Description ------ ----------- --class-path <path> Application jar files|dir containing classes --cmds <path> Location of native commands --config <path> Location of user-editable config files --dir <path> Target directory for extract --dry-run Dry run of hash mode --exclude <pattern-list> Exclude files matching the supplied comma separated pattern list, each element using one the following forms: <glob-pattern>, glob:<glob- pattern> or regex:<regex-pattern> -h, --help Print this usage message --hash-modules <regex-pattern> Compute and record hashes to tie a packaged module with modules matching the given <regex-pattern> and depending upon it directly or indirectly. The hashes are recorded in the JMOD file being created, or a JMOD file or modular JAR on the module path specified the jmod hash command. --header-files <path> Location of header files --help-extra Print help on extra options --legal-notices <path> Location of legal notices --libs <path> Location of native libraries --main-class <class-name> Main class --man-pages <path> Location of man pages --module-version <module-version> Module version -p, --module-path <path> Module path --target-platform <target-platform> Target platform --version Version information @<filename> Read options from the specified file
⇒ jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider - "jshell" Command
⇐ jdk.jlink/jdk.tools.jlink.internal.Main - "jlink" Command
2020-01-29, 1659🔥, 0💬
Popular Posts:
What Is ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is the JAR files of ojdbc.jar, ...
What Is commons-collections4-4.4 .jar?commons-collections4-4.4 .jaris the JAR file for Apache Common...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
JDK 8 tools.jar is the JAR file for JDK 8 tools. It contains Java classes to support different JDK t...