W3cubDocs

/OpenJDK 21

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 jpackage tool is not thread-safe. An application should not call either of the ToolProvider run methods concurrently, even with separate "jpackage" ToolProvider instances, or undefined behavior may result.
Module Graph:
Module graph for jdk.jpackageModule graph for jdk.jpackage
Since:
16

Services

Type Description
ToolProvider
Use ToolProvider.findFirst("jpackage") to obtain an instance of a ToolProvider that provides the equivalent of command-line access to the jpackage tool.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.jpackage/module-summary.html