From the course: Migrating beyond Java 8
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Java Dependency Analysis Tool - Java Tutorial
From the course: Migrating beyond Java 8
Java Dependency Analysis Tool
- [Instructor] When migrating to Java 11, your application may experience issues if it references JDK internal APIs that were encapsulated in Java nine. To help identify application components or third party libraries that rely upon JDK internal APIs, we can use the Java dependency analysis tool or JDeps for short. The tool was introduced in Java nine, and it allows us to scan byte code to identify static dependencies between classes. To get started with JDeps, We're first going to modify our pom.xml file in order to create a build name. So I'm going to navigate down to the build section of our POM and here, I'm just going to specify the final name for the artifact we'd like to create as hplus-sport-api. I'll go ahead and save the POM. And then we're going to navigate to our run configurations, and we will build the application using our Java eight profile. There we'll see that the application begins to package. And…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.