When setting up an environment in Jelastic PaaS you can choose the distribution and version of JDK you want to run:
- AdoptOpenJDK: 8.0.242; 11.0.6; 13.0.2
- Amazon Corretto: 8.242.08.1; 18.104.22.168.1
- Eclipse OpenJ9: 0.11.0 (8u192-b12; 11.0.1); 0.15.1 (8u222-b10; 11.0.4); 0.17.0 (8u232-b09; 11.0.5; 13.0.1); 0.18.1 (8u242-b08; 11.0.6; 13.0.2)
- GraalVM CE (currently, for Java Engine and Maven only): 19.0.0; 19.1.1; 19.2.1; 19.3.1
- Liberica JDK: 8.0.242; 11.0.6; 13.0.2
- Oracle JDK Dev: 7.0_79; 8.0_202; 11.0.2
- Oracle OpenJDK: 7.0.261; 8.0.252; 11.0.4; 13.0.2; 14
- Zulu Community: 7.0.252; 8.0.242; 11.35.15; 13.28.11; 14.0.1
Also, for the existing environments the used engine version can be easily switched to a different one:
1. Log into the Jelastic dashboard and click the New Environment button.
Within the opened wizard, switch to the Java tab, pick the desired application server and engine versions (as it is shown in the image above).
2. To change the version of Java in the already existing environment, redeploy the appropriate container(s):
Just, select the required Tag (stack and JDK distribution versions) and click Redeploy.
Confirm an action within the appeared pop-up and wait a few minutes for the changes to be applied.