Java 11 / Tomcat 9 Upgrade Guide
You can upgrade a project without performing a full upgrade. There are some limitations based on versions, which is covered in the prerequisites section below.
- Gradle version:
4.2.15
or higher - Brightspot version:
4.2.22
or higher - Project is on Cloud infrastructure
Refer below for operational limitations to upgrade to Java 11.
Cloud
Any cloud project should be able to upgrade their tomcat version to a version compatible with Java 11
Update Java version
Replace the Java version in the root build.gradle
.
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
In your docker-compose.yml
file, replace the Tomcat image
field so it matches brightspot/tomcat:9-jdk11
.
services:
tomcat:
image: brightspot/tomcat:9-jdk11
Previous Topic
Post-Upgrade Verification Guide
Next Topic
4.5 to 4.7 Table of Contents