jdeps
jdeps is a command-line utility included with the Oracle JDK and OpenJDK. Its primary function is to analyze Java class files and display the dependency information. Specifically, jdeps can show which packages a given class or JAR file depends on, and conversely, it can identify which classes or JAR files depend on a given package. This information is crucial for understanding the relationships between different parts of a Java project or library.
The tool can be used to identify package-level dependencies, which is particularly useful when migrating code
jdeps is part of the Java Development Kit and is available once the JDK is installed. It