Module jdk.jpackage
module jdk.jpackage
Defines the Java Packaging tool, jpackage.
jpackage is a tool for generating self-contained application bundles.
This module provides the equivalent of command-line access to jpackage
via the ToolProvider SPI.
Instances of the tool can be obtained by calling
ToolProvider.findFirst
or the service loader with the name
"jpackage".
- Implementation Note:
- The
jpackagetool is not thread-safe. An application should not call either of theToolProviderrunmethods concurrently, even with separate"jpackage"ToolProviderinstances, or undefined behavior may result. - Module Graph:
- Since:
- 16
-
Services
ProvidesTypeDescriptionUseToolProvider.findFirst("jpackage")to obtain an instance of aToolProviderthat provides the equivalent of command-line access to thejpackagetool.