W3cubDocs

/OpenJDK 21

Module jdk.jdeps

module jdk.jdeps
Defines tools for analysing dependencies in Java libraries and programs, including the jdeps, javap, and jdeprscan tools.

This module provides the equivalent of command-line access to the javap and jdeps tools via the ToolProvider service provider interface (SPI)

Instances of the tools can be obtained by calling ToolProvider.findFirst or the service loader with the name "javap" or "jdeps" as appropriate.

jdeprscan only exists as a command line tool, and does not provide any direct API.

Module Graph:
Module graph for jdk.jdepsModule graph for jdk.jdeps
Tool Guides:
javap, jdeprscan, jdeps
Since:
9

Services

Type Description
ToolProvider
Use ToolProvider.findFirst("javap") or ToolProvider.findFirst("jdeps") to obtain an instance of a ToolProvider that provides the equivalent of command-line access to the javap or jdeps 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.jdeps/module-summary.html