OS Manuals

/usr/lib/jvm/java-10-openjdk/bin/jdeprscan

Oracle OpenJDK 10

From openjdk-10 10.0.2-r9 (os), captured 2026-11-05 by running jdeprscan --help (exit 1). permalink

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

options:
       --class-path PATH
       --for-removal
       --full-version
  -h   --help
  -l   --list
       --release 6|7|8|9|10
  -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 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 PATHhelp
--for-removalhelp
--full-versionhelp
-h--helphelp
-l--listhelp
--release 6|7|8|9|10help
-v--verbosehelp
--versionhelp

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