Guide · updated

Upgrading to AEM 6.5 LTS: Java 17/21, removed dependencies and a test plan

AEM 6.5 LTS is Adobe's long-term support line of AEM 6.5 and the branch that receives new AEM 6.5 features. Adobe describes the upgrade as an in-place upgrade available from all supported 6.5 service packs. For many teams it is the fastest way to stay supported while they plan a move to Cloud Service.

What changes

AreaWhat Adobe documents for 6.5 LTS
JavaThe foundation supports Java 17 and Java 21.
Uber JARThe packaging structure changed; check that your build uses the apis classifier.
GuavaGuava dependencies are missing; tools that rely on them, such as older Groovy Console versions, may not work (Adobe names 19.0.8 as the supported Groovy Console release, with an extra OSGi allow-list entry).
Sling APIsSling artifacts migrated to jakarta.* package namespaces are not supported; use the javax.* versions.
Health checks/systemalive is superseded by Apache Felix Health Checks at /system/health.
Legacy featuresSome legacy features and artifacts were removed; obsolete bundles are uninstalled after the upgrade, and add-ons installed under /libs may need reinstalling.

Before you upgrade

  1. Run Adobe's AEM Analyzer to estimate upgrade complexity against your customisations and integrations.
  2. Inventory add-ons and third-party bundles under /libs; check each has a 6.5 LTS compatible version.
  3. Remove Guava from your own code now (it is also removed from AEM as a Cloud Service); our scanner and AI refactoring handle most of it.
  4. Pin your build to the new Uber JAR with the apis classifier and fix compile errors.
  5. Switch monitoring and load balancer checks from /systemalive to /system/health.

A test plan that fits in two weeks

  • Restore a production copy to a non-production environment and run the upgrade there first; time it.
  • Smoke-test every template's authoring and rendering, every workflow, and every integration.
  • Re-run performance tests on the new Java version; JVM flags tuned for Java 8 or 11 may need revisiting.
  • Rehearse the rollback: snapshot, upgrade, restore.

LTS now, Cloud Service later

Several of the changes LTS needs (removing Guava, cleaning up legacy APIs, current Java) are the same work Cloud Service needs. Doing them once, in a way that serves both, is cheaper than two separate projects. The 6.5 LTS vs Cloud Service guide on this site compares the two paths.

Check your own site or code for free

This guide covers the AEM code and platform side of a move. The pages are a separate job, and that is the job the four steps do.

Surge Migrate moves a website from any CMS to any CMS in four steps: Scan, Convert, Verify, Install. Pages are converted automatically, and you check the result before you install anything.

Sources

Any CMS to any CMS

Scan, Convert, Verify, Install

This guide covers one part of a move. Surge Migrate moves the pages, from any CMS to any CMS. Converted automatically. Checked before you install.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →

No account needed. Public pages only, robots.txt obeyed. Nothing is installed in your system by these tools.