"jdeps --inverse --require ..." - Reverse Dependencies

This section provides a tutorial example on how to use 'jdeps --inverse' command to show reverse dependencies of a given Java module.

If you want to see reverse dependencies of a given Java module, you can run the "jdeps --inverse --require module_name" command.

Let's use the "java.logging" module as an example:

herong> jdeps --inverse --require java.logging

Inverse transitive dependences on [java.logging]
java.logging <- java.se
java.logging <- jdk.jshell
java.logging <- jdk.scripting.nashorn
java.logging <- jdk.security.jgss
java.logging <- java.rmi <- java.management.rmi
java.logging <- java.rmi <- java.se
java.logging <- java.rmi <- jdk.hotspot.agent
java.logging <- java.rmi <- jdk.jconsole
java.logging <- java.rmi <- jdk.jstatd
java.logging <- java.rmi <- jdk.naming.rmi
java.logging <- java.security.sasl <- java.se
java.logging <- java.security.sasl <- jdk.security.jgss
java.logging <- java.sql <- java.se
java.logging <- java.sql <- java.sql.rowset
java.logging <- java.sql.rowset <- java.se
java.logging <- java.xml.crypto <- java.se
java.logging <- java.security.sasl <- java.naming <- java.se

Cool. Now we know which JDK packages are using the "java.logging" module.

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 java - The Java Program Launcher

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 jpackage - Binary Package Builder

 javadoc - The Java Document Generator

jdeps - The Java Class Dependency Analyzer

 jdeps - Class Dependency Analyzer Command

 "jdeps class_file" - Dependencies of Class File

 "jdeps -verbose" - Class Level Dependencies of Class File

 "jdeps jar_file" - Dependencies of JAR File

"jdeps --inverse --require ..." - Reverse Dependencies

 jdeprscan - The Java Deprecated API Scanner

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jhsdb - The Java HotSpot Debugger

 jvisualvm (Java VisualVM) - JVM Visual Tool

 jmc - Java Mission Control

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

 jarsigner - JAR File Signer

 jshell - Java Language Shell

 jrunscript - Script Code Shell

 Miscellaneous Tools

 native2ascii - Native-to-ASCII Encoding Converter

 JAB (Java Access Bridge) for Windows

 Archived Tutorials


 Full Version in PDF/EPUB