OS Manuals

/usr/lib/jvm/java-21-liberica/bin/jdeprscan

Liberica 21 Java development kit

From liberica-21 21.0.13.12-r0 (enterprise-packages), captured 2026-11-08 by running jdeprscan --help (exit 0). permalink

Usage: jdeprscan [options] {dir|jar|class} ...

options:
        --class-path PATH
        --for-removal
        --full-version
  -? -h --help
  -l    --list
        --release 8|9|10|11|12|13|14|15|16|17|18|19|20|21
  -v    --verbose
        --version

Scans each argument for usages of deprecated APIs. An argument
may be a directory specifying the root of a package hierarchy,
a JAR file, a class file, or a class name. The class name must be
specified using a fully qualified class name using the $ separator
character for nested classes, for example,

    java.lang.Thread$State

The --class-path option provides a search path for resolution
of dependent classes.

The --for-removal option limits scanning or listing to APIs that are
deprecated for removal. Cannot be used with a release value of 6, 7, or 8.

The --full-version option prints out the full version string of the tool.

The --help (-? -h) option prints out a full help message.

The --list (-l) option prints out the set of deprecated APIs. No scanning is done,
so no directory, jar, or class arguments should be provided.

The --release option specifies the Java SE release that provides the set
of deprecated APIs for scanning.

The --verbose (-v) option enables additional message output during processing.

The --version option prints out the abbreviated version string of the tool.
Options (8)
OptionDescriptionSource
--class-path PATHProvides a search path for resolution of dependent classes.help + man
--for-removalLimits scanning or listing to APIs that are deprecated for removal.help + man
--full-versionPrints out the full version string of the tool.help + man
-l, --listPrints the set of deprecated APIs.help + man
--release 8|9|10|11|12|13|14|15|16|17|18|19|20|21Specifies the Java SE release that provides the set of deprecated APIs for scanning.help + man
-v, --verboseEnables additional message output during processing.help + man
--versionPrints out the abbreviated version string of the tool.help + man
--help, -hPrints out a full help message. (in the manual page but not in --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.