Expand my Community achievements bar.

How to update JDK version of Cloud Manager within your program as part of the build | AEM Community Blog Seeding

Avatar

Administrator

240_F_287987563_mDJi0t9LFtkPJv80xZwAtTemxhyFp85R

How to update JDK version of Cloud Manager within your program as part of the build by Aemtutorial

Abstract

AEM AS CLOUD SERVICE VIDEO TUTORIAL SERIES

What are the available JDK versions with cloud manager?

Java versions installed are Oracle JDK 8u202 and 11.0.2.

Some times, when we deploy our code, people complaint java version is not matching (for e.g. we are using a JDK 11 specific API and this Java class is giving error in cloud manager) We will see how to set the relevant java version now.

How to update the Java version of project build environment in AEM As Cloud Manager

By default, projects are built using Java 8. Customers who want to use Java 11 in their projects can do this using the Apache Maven Toolchains Plugin.

In the pom.xml file, add a  entry that looks like this:

org.apache.maven.plugins
maven-toolchains-plugin
1.1 toolchain
11 oracle
A few FAQs about AEM As Cloud Service build environment are given below

What is the OS used for AEM as CLoud service?

Build environment is Linux-based, derived from Ubuntu 18.04.

At present what is the maven version?

The installed maven is - Apache Maven 3.6.0 version.

Which java versions are supported by AEM as cloud service?
Java versions installed are Oracle JDK 8u202 and 11.0.2.

Read Full Blog

How to update JDK version of Cloud Manager within your program as part of the build

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies