Expand my Community achievements bar.

SOLVED

AEM Cloud JDK migration from Oracle JDK to Azul Zulu OpenJDK

Avatar

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

Avatar

Correct answer by
Community Advisor

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

7 Replies

Avatar

Correct answer by
Community Advisor

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

 

Avatar

Level 2

Thanks @Kishore_Kumar_ ,

 

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

 

Avatar

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

 

Avatar

Community Advisor

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.

Avatar

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!

Avatar

Level 1

I believe Adobe's recommendation has changed based on security concerns.  Oracle is recommend  and not Azul_Zulu.

 

You can find more details here:

Adobe Notification April 1st 2022