jimage - JIMAGE File Tool Command

This section describes what is 'jimage' (Java JIMAGE Tool) - is a command line tool to view and extract JIMAGE files.

What Is "jimage"? "jimage", The JIMAGE File Tool, is a command line tool to view and extract jimage files, which are used to store class and resources files of Java modules to support custom JREs.

"jimage" has been included in JDK installation since JDK 9. And it is represented by the %java_home%\bin\jimage.exe program file.

If you have %java_home%\bin directory included in "path" the environment variable, you can run "jimage -help" to see a complete list of all options:

C:\herong>jimage -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>

Last update: 2018.

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

jimage - The JIMAGE File Tool

 java - The Java Program Launcher

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jvisualvm (Java VisualVM) - JVM Visual Tool

 jmc - Java Mission Control

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

 jarsigner - JAR File Signer

 jshell - Java Language Shell

 native2ascii - Native-to-ASCII Encoding Converter

 Outdated Tutorials

 References

 Full Version in PDF/EPUB