Expand my Community achievements bar.

SOLVED

AEM as a Cloud service - Java version question

Avatar

Level 2

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...

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-envi...

 

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

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.