For instance, if you use IntelliJ, you will have to modify the Java version in: ![]() If you want to preserve IDE-related configuration stored in the project, then you should upgrade the project configuration first. For this, we will change the value of all the java.version properties and compilerVersion across the project, from 1.8 to 11. Once Java 11 is installed, we must update in our pom.xml files which version of Java our project / module uses. In our case we used Jabba, a well-known version manager for Java. The first thing we need to do is install Java 11 for which there are several alternatives, and some even allow having more than one version, facilitating a quick exchange of versions. Below we describe the step-by-step process we had to do to accomplish the migration successfully. In our case, we had to implement this migration in several Spring Boot projects (that were using Maven) on the development end and Jetty Web Server (9.4.9) from the infrastructure point of view. Two new, more efficient garbage collectors.– for more detail, check Java 11 Documentation and Guides access to new features such as type inference, modularization, etc. ![]()
0 Comments
Leave a Reply. |