OS Manuals

/usr/lib/jvm/java-23-graalvm/bin/jdeprscan

GraalVM 23

From graalvm-23-ce 23.0.2-r8 (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|22|23
  -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 (7)
OptionDescriptionSource
--class-path PATHhelp
--for-removalhelp
--full-versionhelp
-l--listhelp
--releasehelp
-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.