Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
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 in JDK 9, 10, and 11.
You can run the "jimage" command using the lib\modules JImage file as described below using JDK 11 as an example:
C:\fyicenter>set JDK_HOME=\fyicenter\jdk-11.0.1 C:\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, 638👍, 0💬
Popular Posts:
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.1? The if you...
JDK 11 jdk.internal.vm.ci.jmod is the JMOD file for JDK 11 Internal VM CI module. JDK 11 Internal VM...
If you are running a Java application and receiving an java.lang.ClassNotFoundE xceptionerror, it is...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
What Is mail.jar of JavaMail 1.4.1? I got the JAR file from javamail-1_4_1.zip. mail.jar in javamail...