From the course: Migrating beyond Java 8

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Resolving source code migration issues

Resolving source code migration issues - Java Tutorial

From the course: Migrating beyond Java 8

Start my 1-month free trial

Resolving source code migration issues

- [Instructor] After configuring our workstation for Java 11 and analyzing the project, we can start to migrate the system source code. The first step in doing this is to compile the application using Java 11. This is going to require us to change the project's JDK configuration. We can do this by right-clicking on the project, navigating to the Build Path menu, and then selecting Configure Build Path. This is going to open the project Properties dialogue, where we can see that JDK 8 is included on the build path. I'm going to select JDK 8 and hit Remove because want to shift to JDK 11. In order to add that JDK, we can click on Add Library, and then ensure that JRE System Library is selected and hit Next. This will open the Add Library dialogue. In here if we click on the Alternate JRE option, you'll notice that we have access to every JDK that we've included within Eclipse. Now because we are are using JDK 11 and it…

Contents