Java 11 runtime and Cloud Manager build compatibility in AEM as a Cloud Service
This article explains the current support status and future compatibility considerations for using Java 11 in Adobe Experience Manager Cloud Manager pipelines, including recommendations for migration.
Description description
Environment
- Adobe Experience Manager as a Cloud Service
- Cloud Manager build pipelines
- Java 11, Java 17, and Java 21
Issue/Symptoms
- Teams need to determine whether Java 11 is immediately deprecated for local AEM SDK builds and Cloud Manager pipelines or remains available for build-time compilation.
- Teams need to understand which features, plug-ins, or deployment mechanisms will lose support first if migration to a newer Java version is delayed.
- Teams need to know whether Cloud Manager will block builds or deployments for projects that continue to use Java 11 after a specific date.
- No specific error messages or stack traces are reported.
- The inquiry concerns future compatibility and support planning.
Cause
AEM as a Cloud Service uses Java 21 at runtime, while the Java version used to compile customer code is controlled separately through the Cloud Manager project configuration. Cloud Manager currently provides Java 11, Java 17, and Java 21 for builds, but continued use of Java 11 increases the risk of incompatibility with future AEM runtime updates and third-party dependencies.
Resolution resolution
Follow the steps below to address the issue:
- Review the latest Adobe documentation for updates to the Cloud Manager build environment and deprecated features.
- Note that Java 11 is no longer supported as the AEM Cloud runtime. Cloud Manager currently supports Java 11, Java 17, and Java 21 for compiling customer code.
- Confirm that Cloud Manager does not currently impose an immediate hard block on builds that use Java 11.
- Note that Adobe has not published an order in which specific AEM features, plug-ins, or deployment mechanisms will lose support solely because a project continues to use Java 11. Delaying migration increases the risk of incompatibility with future AEM Cloud runtime updates or third-party dependencies.
- Confirm that Adobe has not published a specific cutoff date for Cloud Manager to automatically block builds or deployments compiled with Java 11.
- Plan the migration to a newer supported Java version, such as Java 17 or Java 21, to maintain compatibility with future AEM Cloud runtime updates.
recommendation-more-help
experience-cloud-kcs-help-kbarticles