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.jimage.Main - "jimage" Command
How to run "jimage" command from JDK lib\modules JImage file?
✍: FYIcenter
"jimage" command allows you to view and extract JImage files, which are generated by
the "jlink" command.
"jimage" 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 "jimage" command using the lib\modules JImage file as described below:
fyicenter> %JDK_HOME%\bin\java --module jdk.jlink/jdk.tools.jimage.Main --help
Usage: jimage <extract | info | list | verify> <options> jimage...
extract - Extract all jimage entries and place in a directory specified
by the --dir=<directory> (default=.) option.
info - Prints detailed information contained in the jimage header.
list - Prints the names of all the entries in the jimage. When used with
--verbose, list will also print entry size and offset attributes.
verify - Reports on any .class entries that dont verify as classes.
Possible options include:
--dir Target directory for extract directive
-h, --help Print usage message
--include <pattern-list> Pattern list for filtering entries.
--verbose Listing prints entry size and offset
attributes
--version Print version information
For options requiring a <pattern-list>, the value will be a comma separated
list of elements each using one the following forms:
<glob-pattern>
glob:<glob-pattern>
regex:<regex-pattern>
⇒ jdk.jlink/jdk.tools.jlink.internal.Main - "jlink" Command
⇐ jdk.jfr/jdk.jfr.internal.cmd.Execute - JFR Tool
2020-01-29, ∼2203🔥, 0💬
Popular Posts:
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
How to perform XML Schema validation with sax\Writer.java provided in the Apache Xerces package? You...
What Is fop.jar? I got it from the fop-2.7-bin.zip. fop.jar in fop-2.7-bin.zip is the JAR file for F...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
How to show the XML parsing flow with sax\DocumentTracer.java provided in the Apache Xerces package?...