OS Manuals

/usr/lib/jvm/java-10-openjdk/bin/jmod

Oracle OpenJDK 10

From openjdk-10 10.0.2-r9 (os), captured 2026-11-05 by running jmod --help (exit 0). permalink

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
Options (18)
OptionDescriptionSource
--class-path pathApplication jar files|dir containing classeshelp
--cmds pathLocation of native commandshelp
--config pathLocation of user-editable config fileshelp
--dir pathTarget directory for extracthelp
--dry-runDry run of hash modehelp
--exclude pattern-listExclude files matching the supplied comma separated pattern list, each element using one the following forms: <glob-pattern>, glob:<glob- pattern> or regex:<regex-pattern>help
-h, --helpPrint this usage messagehelp
--hash-modules regex-patternCompute and record hashes to tie a packaged module with modules matching the given <regex-pattern> and depending upon it directly or indirectly.help
--header-files pathLocation of header fileshelp
--help-extraPrint help on extra optionshelp
--legal-notices pathLocation of legal noticeshelp
--libs pathLocation of native librarieshelp
--main-class class-nameMain classhelp
--man-pages pathLocation of man pageshelp
--module-version module-versionModule versionhelp
-p, --module-path pathModule pathhelp
--target-platform target-platformTarget platformhelp
--versionVersion informationhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.