August 2017
Beginner
298 pages
7h 26m
English
The Java Dependency Analysis Tool (jdeps) is a utility that can statically examine your application and library classes to identify if there are any uses of the JDK internal APIs that no longer work with Java 9. You can run jdeps on your compiled class files or JARs, and have it list out all such references. For each reference, jdeps will highlight usages of internal types that are no longer available for your code to use. It even suggests replacement APIs if they are available.
The command syntax looks like this:
$ jdeps -jdkinternals <jar-files>
If you have a bunch of classes compiled and you want to run jdeps on them, you can even provide a classpath parameter:
$ jdeps -jdkinternals -cp <class-paths>
Let's try this with ...
Read now
Unlock full access