You can go for any other Linux distribution as well like Debian, centos, etc.Ĭlick here for more details on Azul Zulu distributions. Zulu is an OpenJDK distribution from Azul. If your application is a containerized application then you also need to update the docker image in Dockerfile. If your project need JAXB dependencies then below dependencies should be added to pom.xml explicitly. JAXB, JavaFX and JAX-WS are few of the modules which were deprecated in Java 9 and removed in Java 11.Ĭlick here to see the Removal of the Deployment Stack. Note: If your project is only Spring based then upgrading the Spring Framework version to 5.1 will work as Spring 5.1 and higher versions supports Java 11.Īs most of us know that Java has been modularized from Java 9 onwards and there are multiple API and modules which are no longer part of JDK and needs to be added explicitly if we want to use them. Spring Framework to 5.2.9.RELEASE Tomcat to 9.0.38 Hibernate to 5.4.21.Final, etc.Ĭlick here to find the complete list of dependencies and its compatible versions. Upgrading the spring boot to 2.3.4.RELEASE will also upgrade its corresponding dependencies like spring-boot-dependencies 2.3.4.RELEASE In our project, we have gone for 2.3.4.RELEASE version. Upgrade the spring boot version to 2.1.X since 2.0.X and older versions does not support Java 11. Similarly, we can define the version using properties as: If you are using the older version of maven, upgrade it the latest version and also update the source and target to 11. Make sure you are not changing Java version from 1.8 to 1.11, which will downgrade your application to Java 1 and you don’t want to do that, right? □ Java Version Upgrade the java.version property in your pom.xml.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |