jlink-java-17 - Man Page

assemble and optimize a set of modules and their dependencies into a custom runtime image

Synopsis

jlink [options] --module-path modulepath --add-modules module [, module...]

options

Command-line options separated by spaces. See jlink Options.

modulepath

The path where the jlink tool discovers observable modules. These modules can be modular JAR files, JMOD files, or exploded modules.

module

The names of the modules to add to the runtime image. The jlink tool adds these modules and their transitive dependencies.

Description

The jlink tool links a set of modules, along with their transitive dependences, to create a custom runtime image.

Note:

Developers are responsible for updating their custom runtime images.

Info

2021 JDK 17 JDK Commands