jdk.jartool (Java SE 26 & JDK 26)
Description: declaration: module: jdk.jartool
Keywords: jdk.jartool module

# Module jdk.jartool

module jdk.jartool
Defines tools for manipulating Java Archive (JAR) files, including the jar and jarsigner tools. This module also defines APIs for signing JAR files.

This module provides the equivalent of command-line access to jar via the `ToolProvider` SPI. Instances of the tool can be obtained by calling `ToolProvider.findFirst` or the service loader with the name `"jar"`.

Module Graph:
Tool Guides:
  jar, jarsigner
Since:
  9

- ## Packages

  Exports
  Package
  Description
  jdk.security.jarsigner
  This package defines APIs for signing jar files.

- ## Services

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