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, 1341🔥, 0💬
Popular Posts:
The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications ...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
What Is commons-fileupload-1.3.3 .jar?commons-fileupload-1.3.3 .jaris the JAR file for Apache Common...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
io.jar is a component in iText Java library to provide input/output functionalities. iText Java libr...