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:

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 don't 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>

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 java - The Java Program Launcher

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

jimage - The JIMAGE File Tool

 JIMAGE - Java Image File Format

jimage - JIMAGE File Tool Command

 "jimage info|list" - Listing JIMAGE Entries

 "jimage extract" - Extracting JIMAGE File Entries

 Java File Types and Related Tools

 jpackage - Binary Package Builder

 javadoc - The Java Document Generator

 jdeps - The Java Class Dependency Analyzer

 jdeprscan - The Java Deprecated API Scanner

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jhsdb - The Java HotSpot Debugger

 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

 jrunscript - Script Code Shell

 Miscellaneous Tools

 native2ascii - Native-to-ASCII Encoding Converter

 JAB (Java Access Bridge) for Windows

 Archived Tutorials

 References

 Full Version in PDF/EPUB