Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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, ∼2208🔥, 0💬
Popular Posts:
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
maven-compat-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Compact module. The JAR file name may ...
Woodstox 6.4.0 Source Code Files are provided at the Woodstox GitHub Website . You can download them...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
How to download and install JDK (Java Development Kit) 7? If you want to write Java applications, yo...