# 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
  com.sun.jarsigner
  This package comprises the interfaces and classes used to define the signing mechanism used by the `jarsigner` tool.
  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.