OS Manuals

/usr/lib/jvm/java-17-liberica/bin/jdeps

Liberica 17 Java development kit

From liberica-17 17.0.21.12-r2 (enterprise-packages), captured 2026-11-08 by running jdeps --help (exit 0). permalink

Usage: jdeps <options> <path ...>]
<path> can be a pathname to a .class file, a directory, a JAR file.

Possible options include:
  -h -? --help                  Print this help message
  -dotoutput <dir>
  --dot-output <dir>            Destination directory for DOT file output
  -s       -summary             Print dependency summary only.
  -v       -verbose             Print all class level dependences
                                Equivalent to -verbose:class -filter:none.
  -verbose:package              Print package-level dependences excluding
                                dependences within the same package by default
  -verbose:class                Print class-level dependences excluding
                                dependences within the same package by default
  -apionly
  --api-only                    Restrict analysis to APIs i.e. dependences
                                from the signature of public and protected
                                members of public classes including field
                                type, method parameter types, returned type,
                                checked exception types etc.
  -jdkinternals
  --jdk-internals               Finds class-level dependences on JDK internal
                                APIs. By default, it analyzes all classes
                                on --class-path and input files unless -include
                                option is specified. This option cannot be
                                used with -p, -e and -s options.
                                WARNING: JDK internal APIs are inaccessible.
  -cp <path>
  -classpath <path>
  --class-path <path>           Specify where to find class files
  --module-path <module path>   Specify module path
  --upgrade-module-path <module path>  Specify upgrade module path
  --system <java-home>          Specify an alternate system module path
  --add-modules <module-name>[,<module-name>...]
                                Adds modules to the root set for analysis
  --multi-release <version>     Specifies the version when processing
                                multi-release jar files.  <version> should
                                be integer >= 9 or base.
  -q       -quiet               Suppress warning messages
  -version --version            Version information

Module dependence analysis options:
  -m <module-name>
  --module <module-name>        Specify the root module for analysis
  --generate-module-info <dir>  Generate module-info.java under the specified
                                directory. The specified JAR files will be
                                analyzed. This option cannot be used with
                                --dot-output or --class-path. Use
                                --generate-open-module option for open modules.
  --generate-open-module <dir>  Generate module-info.java for the specified
                                JAR files under the specified directory as
                                open modules. This option cannot be used with
                                --dot-output or --class-path.
  --check <module-name>[,<module-name>...
                                Analyze the dependence of the specified modules
                                It prints the module descriptor, the resulting
                                module dependences after analysis and the
                                graph after transition reduction.  It also
                                identifies any unused qualified exports.
  --list-deps                   Lists the module dependences.  It also prints
                                any internal API packages if referenced.
                                This option transitively analyzes libraries on
                                class path and module path if referenced.
                                Use --no-recursive option for non-transitive
                                dependency analysis.
  --list-reduced-deps           Same as --list-deps with not listing
                                the implied reads edges from the module graph.
                                If module M1 reads M2, and M2 requires
                                transitive on M3, then M1 reading M3 is implied
                                and is not shown in the graph.
  --print-module-deps           Same as --list-reduced-deps with printing
                                a comma-separated list of module dependences.
                                This output can be used by jlink --add-modules
                                in order to create a custom image containing
                                those modules and their transitive dependences.
  --ignore-missing-deps         Ignore missing dependences.

Options to filter dependences:
  -p <pkg>
  -package <pkg>
  --package <pkg>               Finds dependences matching the given package
                                name (may be given multiple times).
  -e <regex>
  -regex <regex>
  --regex <regex>               Finds dependences matching the given pattern.
  --require <module-name>       Finds dependences matching the given module
                                name (may be given multiple times). --package,
                                --regex, --require are mutual exclusive.
  -f <regex> -filter <regex>    Filter dependences matching the given
                                pattern. If given multiple times, the last
                                one will be used.
  -filter:package               Filter dependences within the same package.
                                This is the default.
  -filter:archive               Filter dependences within the same archive.
  -filter:module                Filter dependences within the same module.
  -filter:none                  No -filter:package and -filter:archive
                                filtering.  Filtering specified via the
                                -filter option still applies.

  --missing-deps                Finds missing dependences.  This option
                                cannot be used with -p, -e and -s options.

Options to filter classes to be analyzed:
  -include <regex>              Restrict analysis to classes matching pattern
                                This option filters the list of classes to
                                be analyzed.  It can be used together with
                                -p and -e which apply pattern to the dependences
  -P       -profile             Show profile containing a package
  -R
  --recursive                   Recursively traverse all run-time dependences.
                                The -R option implies -filter:none.  If -p,
                                -e, -f option is specified, only the matching
                                dependences are analyzed.
  --no-recursive                Do not recursively traverse dependences.
  -I
  --inverse                     Analyzes the dependences per other given options
                                and then find all artifacts that directly
                                and indirectly depend on the matching nodes.
                                This is equivalent to the inverse of
                                compile-time view analysis and print
                                dependency summary.  This option must use
                                with --require, --package or --regex option.
  --compile-time                Compile-time view of transitive dependences
                                i.e. compile-time view of -R option.
                                Analyzes the dependences per other given options
                                If a dependence is found from a directory,
                                a JAR file or a module, all classes in that
                                containing archive are analyzed.
Options (45)
OptionDescriptionSource
-h, -?, --help -?Prints the help message.help + man
-dotoutput dirSpecifies the destination directory for DOT file output.help + man
--dot-output dirDestination directory for DOT file outputhelp
-s, -summary-summary Print dependency summary only.help + man
-v, -verbose-verbose Print all class level dependences Equivalent to -verbose:class -filter:none.help + man
-apionlyRestricts the analysis to APIs, for example, dependences from the signature of public and protected members of public classes including field type, method parameter types, returned type, and checked…help + man
--api-onlyRestrict analysis to APIs i.e. dependences from the signature of public and protected members of public classes including field type, method parameter types, returned type, checked exception types…help
-jdkinternalsFinds class-level dependences in the JDK internal APIs.help + man
--jdk-internalsFinds class-level dependences on JDK internal APIs.help
-cp pathSpecifies where to find class files.help + man
-classpath pathhelp
--class-path pathSpecify where to find class fileshelp
--module-path moduleSpecifies the module path.help + man
--upgrade-module-path moduleSpecifies the upgrade module path.help + man
--system java-homeSpecifies an alternate system module path.help + man
--add-modules module-nameAdds modules to the root set for analysishelp
--multi-release versionSpecifies the version when processing multi-release jar files.help + man
-q, -quietDoesn't show missing dependencies from -generate-module-info output.help + man
-version, --version --versionPrints version information.help + man
-m module-nameSpecifies the root module for analysis.help + man
--module module-nameSpecify the root module for analysishelp
--generate-module-info dirGenerates module-info.java under the specified directory.help + man
--generate-open-module dirGenerates module-info.java for the specified JAR files under the specified directory as open modules.help + man
--check module-nameAnalyze the dependence of the specified modules It prints the module descriptor, the resulting module dependences after analysis and the graph after transition reduction.help
--list-depsLists the module dependences and also the package names of JDK internal APIs (if referenced).help + man
--list-reduced-depsSame as --list-deps with not listing the implied reads edges from the module graph.help + man
--print-module-depsSame as --list-reduced-deps with printing a comma-separated list of module dependences.help + man
--ignore-missing-depsIgnore missing dependences.help + man
-p pkgFinds dependences matching the specified package name.help + man
-package pkghelp
--package pkgFinds dependences matching the given package name (may be given multiple times).help
-e regexFinds dependences matching the specified pattern.help + man
-regex regexhelp
--regex regexFinds dependences matching the given pattern.help
--require module-nameFinds dependences matching the given module name (may be given multiple times).help + man
-f, -filter regexFilters dependences matching the given pattern.help + man
--missing-depsFinds missing dependences.help + man
-include regexRestrict analysis to classes matching pattern This option filters the list of classes to be analyzed.help + man
-P, -profile-profile Show profile containing a packagehelp + man
-RRecursively traverses all run-time dependences.help + man
--recursiveRecursively traverse all run-time dependences.help
--no-recursiveDo not recursively traverse dependences.help + man
-IAnalyzes the dependences per other given options and then finds all artifacts that directly and indirectly depend on the matching nodes.help + man
--inverseAnalyzes the dependences per other given options and then find all artifacts that directly and indirectly depend on the matching nodes.help
--compile-timeAnalyzes the compile-time view of transitive dependencies, such as the compile-time view of the -R option.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.