AEM as a Cloud service - Java version question | Community
Skip to main content
joannaj49016259
Level 2
April 22, 2020
Solved

AEM as a Cloud service - Java version question

  • April 22, 2020
  • 1 reply
  • 3110 views

Hello, currently our project is compatible with AEM 6.5.3 on premise, and we use java 8 to run AEM and build our project. We would like to check the possibilities of adapting the project for use in Adobe Experience Cloud.

 

I've started by reading documentation and I have a doubt: 

1. On the one hand Cloud Manager uses jdk 8 build environment: 

https://docs.adobe.com/content/help/en/experience-manager-cloud-manager/using/getting-started/create-an-application-project.html#build-environment-details

2. On the other hand local AEM runtime uses jdk 11: 

https://docs.adobe.com/content/help/en/experience-manager-learn/cloud-service/local-development-environment-set-up/aem-runtime.html

 

I'm not sure how to interpret this fragments.

Is java 11 required for running AEM SDK locally?

Is it required to build project dedicated for Adobe Experience Cloud with java 11?

If I build my project with java 11 will it be compatible with Cloud Manager?

 

Any advice is appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

The compilation environment runs with java8 and from what I understood it also creates java8 bytecode, but the runtime is using JDK 11.

 

It's best if you set up your local environment the same way. I hope that you'll be able to use Java11 features soon.

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
April 23, 2020

The compilation environment runs with java8 and from what I understood it also creates java8 bytecode, but the runtime is using JDK 11.

 

It's best if you set up your local environment the same way. I hope that you'll be able to use Java11 features soon.