OS Manuals

/usr/lib/jvm/java-1.9-openjdk/bin/jlink

Oracle OpenJDK 9

From openjdk-9 9.0.4-r8 (os), captured 2026-11-05 by running jlink --help (exit 0). permalink

Usage: jlink <options> --module-path <modulepath> --add-modules <module>[,<module>...]
Possible options include:
      --add-modules <mod>[,<mod>...]    Root modules to resolve
      --bind-services                   Link in service provider modules and
                                        their dependences
  -c, --compress=<0|1|2>                Enable compression of resources:
                                          Level 0: No compression
                                          Level 1: Constant string sharing
                                          Level 2: ZIP
      --disable-plugin <pluginname>     Disable the plugin mentioned
      --endian <little|big>             Byte order of generated jimage
                                        (default:native)
  -h, --help                            Print this help message
      --ignore-signing-information      Suppress a fatal error when signed
                                        modular JARs are linked in the image.
                                        The signature related files of the
                                        signed modular JARs are not copied to
                                        the runtime image.
      --launcher <name>=<module>[/<mainclass>]
                                        Add a launcher command of the given
                                        name for the module and the main class
                                        if specified
      --limit-modules <mod>[,<mod>...]  Limit the universe of observable
                                        modules
      --list-plugins                    List available plugins
  -p, --module-path <path>              Module path
      --no-header-files                 Exclude include header files
      --no-man-pages                    Exclude man pages
      --output <path>                   Location of output path
      --save-opts <filename>            Save jlink options in the given file
  -G, --strip-debug                     Strip debug information
      --suggest-providers [<name>,...]  Suggest providers that implement the
                                        given service types from the module path
  -v, --verbose                         Enable verbose tracing
      --version                         Version information
      @<filename>                       Read options from file
Options (19)
OptionDescriptionSource
--add-modules modRoot modules to resolvehelp
--bind-servicesLink in service provider modules and their dependenceshelp
-c, --compress 0|1|2Enable compression of resources: Level 0: No compression Level 1: Constant string sharing Level 2: ZIPhelp
--disable-plugin pluginnameDisable the plugin mentionedhelp
--endian little|bigByte order of generated jimage (default:native)help
-h, --helpPrint this help messagehelp
--ignore-signing-informationSuppress a fatal error when signed modular JARs are linked in the image.help
--launcher name>=<module>[/<mainclassAdd a launcher command of the given name for the module and the main class if specifiedhelp
--limit-modules modLimit the universe of observable moduleshelp
--list-pluginsList available pluginshelp
-p, --module-path pathModule pathhelp
--no-header-filesExclude include header fileshelp
--no-man-pagesExclude man pageshelp
--output pathLocation of output pathhelp
--save-opts filenameSave jlink options in the given filehelp
-G, --strip-debugStrip debug informationhelp
--suggest-providers nameSuggest providers that implement the given service types from the module pathhelp
-v, --verboseEnable verbose tracinghelp
--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.