Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Cloud JDK migration from Oracle JDK to Azul Zulu OpenJDK

RajeevDuggal
Level 2
Level 2

Team,

 

From one of the recent notifications [1] we have came to know that Oracle JDK will no longer be support for AEM/AEM as cloud and this would be soon switched to Azul Zulu OpenJDK. 

Has anyone experienced switching from Oracle JDK 11 to Azul Zulu OpenJDK for AEM as cloud? Any issues being faced? 

Appreciate your help.

[1] https://experienceleague.adobe.com/docs/experience-manager-65/assets/adobe-azul-openjdk-license-agre...

1 Accepted Solution
kishorekumar14
Correct answer by
Level 7
Level 7

hi @RajeevDuggal ,

 

Yes i have tried it and i haven't faced any issue in my project. If you want you can also check.

 

Please find document for reference

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/using-cloud-ma...

 

In that try "Alternate Maven Execution JDK Version" method. Create a folder called ".cloud-manger" and create a file called "java-version" and mention as 11 in it.

 

kishorekumar14_0-1630658542636.png

 

kishorekumar14_1-1630658562097.png

kishorekumar14_2-1630658573417.png

 

and then try deploying in any of you dev environments and verify it.  If you check in build logs it would have pointed to azul jdk 11 .

kishorekumar14_3-1630658704980.png

 

View solution in original post

6 Replies
kishorekumar14
Correct answer by
Level 7
Level 7

hi @RajeevDuggal ,

 

Yes i have tried it and i haven't faced any issue in my project. If you want you can also check.

 

Please find document for reference

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/using-cloud-ma...

 

In that try "Alternate Maven Execution JDK Version" method. Create a folder called ".cloud-manger" and create a file called "java-version" and mention as 11 in it.

 

kishorekumar14_0-1630658542636.png

 

kishorekumar14_1-1630658562097.png

kishorekumar14_2-1630658573417.png

 

and then try deploying in any of you dev environments and verify it.  If you check in build logs it would have pointed to azul jdk 11 .

kishorekumar14_3-1630658704980.png

 

View solution in original post

RajeevDuggal
Level 2
Level 2

Thanks @kishorekumar14 ,

 

I can see CM pipeline is picking Version 11 from .cloudmanager/java-version but it is not showing the vendor as Azul zulu. How can rest be confirmed that it is using Azul zulu's OpenJDK?

 

RajeevDuggal_0-1630661447391.png

 

RajeevDuggal
Level 2
Level 2

I could see AEM as cloud on CM already using Azul zulu OpenJDK, even I have not pushed the suggested java-version file to this environment. So it is just a matter of developers to use the same JDK for local SDK based development on their machine. Thanks.

RajeevDuggal_0-1630665126946.png

 

kishorekumar14
Level 7
Level 7

Oh ok. When I was investigating some month back without this file it was pointed to Oracle JDK 11. May be it would've changed now. Thanks for the information.

asutosh_jena
Community Advisor
Community Advisor

Hi @RajeevDuggal 

 

Yes you are correct. Oracle JDK will no longer be supported for AEM on premise or Cloud instance.

If we have the license for JDK with Oracle, we can still continue to use else we need to start planning for migrating into Azul Zulu Open JDK.

 

If you see the below comparision with different JDK vs Oracle JDK, we don't see much difference, whereas we need to try this and see if there are any issue. Ideally there should not be any but we never know until we try it! 😉

 

https://www.azul.com/products/core/jdk-comparison-matrix/

 

asutosh_jena_0-1630658705724.png

Thanks!