Java use cases

Java 8 and 11 upgrades: three situations we are asked to handle.

Typical situations we're asked to handle. Client work is confidential; see American National for a published project.

Java

The short answer

Teams bring a Java 8 or 11 upgrade to Ace8 when something outside the code forces the date. Three triggers are common: a license bill that scales with headcount, a framework upgrade that needs Java 17, and an audit finding about runtime support. Each starts with an assessment and characterization tests before any change.

Which Java situation are you in?

Three typical situations, each with its trigger and first step. The sections below cover the risks, the approach and the fit.

Use caseTriggerFirst step
Oracle Java is now priced per employee, and the bill is due at renewalOracle prices Java by employee since 2023Fixed-price assessment
The Spring Boot upgrade is blocked because the app still runs Java 11Spring Boot 3 needs Java 17 or laterFixed-price assessment
An audit flags Java 8 and 11 because vendor support has moved onOracle Premier Support for Java 8 ended 2022Fixed-price assessment

What should you do when Oracle's per-employee Java pricing hits your renewal?

First find out which applications and servers actually run Oracle JDK builds. Then decide per application: keep a subscription, switch to another OpenJDK build of the same version, or upgrade to a newer LTS release. An inventory comes before any of those choices.

SituationOracle Java is now priced per employee, and the bill is due at renewal
TriggerOracle prices Java by employee since 2023
First stepFixed-price assessment, tests before any change
Delivered byThe AceMQ engineering team
ServiceJava upgrade

The situation

A finance or procurement lead has a Java renewal quote based on total headcount. Engineering runs a mix of Java 8 and 11 applications, some on Oracle JDK, some on other builds, and nobody has a current list. The question is how much of the estate really needs Oracle's runtime.

What makes it urgent

IDC reports that from 23 January 2023 Oracle replaced its Java SE subscriptions with the Java SE Universal Subscription, which uses one Employee metric, and that contractors and temporary workers may also need to be counted. Existing customers may meet the model at renewal.

Risks and constraints

  • Nobody can say which hosts, containers and desktops run Oracle JDK and which run another OpenJDK build.
  • Build images and CI agents pin Java versions that were chosen years ago and never revisited.
  • Switching vendor on the same version is quick, but it leaves the old Java version and its libraries in place.
  • An upgrade done in a rush, to beat the renewal date, skips the tests that make it safe.

How Ace8 handles it

Step 1

Assess

Fixed-price first phase. We inventory runtimes across servers, images and build tools, list each application's Java version and blockers, and rank them by the effort to reach Java 21.

Step 2

Upgrade

For applications you choose to move, we write characterization tests first, run OpenRewrite recipes for the mechanical changes and have a senior engineer review every diff. Each step can be reverted.

Step 3

Run

AceMQ supports the upgraded applications 24/7, so the runtime decision does not become a new on-call problem.

What you get

  • Runtime inventory by application, host and image
  • Per-application recommendation: stay, switch build, or upgrade
  • Upgrade backlog ranked by effort and risk
  • Characterization tests for the first application in scope
  • Runbook for the new runtime and its image

A fit when

  • Your renewal quote is based on headcount and you suspect most of it is not needed.
  • You want one decision per application, backed by an inventory.

Not a fit when

  • You only need to change the Java vendor for the same version. A build swap may cover that without our help.
  • Your contract terms are in dispute. That is a question for your licensing adviser, not an engineering team.

Sources

Can you upgrade Spring Boot while the application still runs Java 8 or 11?

Not to Spring Boot 3 or later. Spring Boot 3.0 requires Java 17 or later, so the runtime upgrade comes first. Do it as its own step, with tests passing on the new JDK, before changing Spring or the javax namespace.

SituationThe Spring Boot upgrade is blocked because the app still runs Java 11
TriggerSpring Boot 3 needs Java 17 or later
First stepFixed-price assessment, tests before any change
Delivered byThe AceMQ engineering team
ServiceJava upgrade

The situation

An engineering lead wants the application on a supported Spring Boot line. The code compiles on Java 11 today, with a mix of older libraries and some use of internal JDK APIs. Doing the runtime and the framework in one change would make failures hard to trace.

What makes it urgent

The Spring Boot 3.0 migration guide says Spring Boot 3.0 requires Java 17 or later and that Java 8 is no longer supported. The current Spring Boot documentation still lists Java 17 as the minimum.

Risks and constraints

  • Libraries that reach into JDK internals fail on newer Java versions.
  • Test suites that were never run on a newer JDK hide breakage until late.
  • Doing the Java and Spring changes together makes a failing build hard to diagnose.
  • Build plugins, CI images and base images all pin the old version.

How Ace8 handles it

Step 1

Assess

Fixed-price first phase. We build the application on Java 17 and 21, list what fails, and map dependencies that block the move.

Step 2

Upgrade

Characterization tests first. Then OpenRewrite recipes for the mechanical edits, a senior engineer reviewing each diff, and a release that changes only the runtime.

Step 3

Run

With the runtime on a current release, the Spring Boot 3 migration becomes its own step. AceMQ supports both releases 24/7.

What you get

  • Dependency and build report for Java 17 and 21
  • Characterization tests covering the critical paths
  • Upgraded build, CI and base images
  • Reviewed pull requests that change only the runtime
  • Plan for the Spring Boot step that follows

A fit when

  • The framework upgrade is on the roadmap and Java 11 or 8 is the blocker.
  • You want the runtime change to ship alone, so any regression has one cause.

Not a fit when

  • The application is staying on Spring Boot 2 for now and has no other reason to move.
  • The application is about to be retired. Leave it and plan the retirement.

Sources

What do you do when an audit says your Java version is out of support?

Check which vendor's support the finding refers to, then list every application on the flagged version. Fix the highest-risk ones first. Moving to a current long-term support release closes the finding, and a tested path keeps each change reversible.

SituationAn audit flags Java 8 and 11 because vendor support has moved on
TriggerOracle Premier Support for Java 8 ended 2022
First stepFixed-price assessment, tests before any change
Delivered byThe AceMQ engineering team
ServiceJava upgrade

The situation

A security or compliance lead has a finding, or a customer questionnaire, that names Java 8 or 11 as old. The team believes some applications are fine and some are not, but there is no list. Remediation needs a plan with dates.

What makes it urgent

Oracle's Java SE Support Roadmap lists Premier Support for Java 8 as ended in March 2022 and for Java 11 in September 2023, with Extended Support to December 2030 and January 2032. Premier Support for Java 17 ended in September 2026. Adoptium lists Temurin 8 as available at least to December 2030 and Temurin 11 to October 2027.

Risks and constraints

  • Support dates differ by vendor, so a finding can be right for one runtime build and wrong for another.
  • Dependencies on the old runtime hold back library updates, which brings its own findings.
  • Applications with no tests cannot be upgraded safely, however clear the finding is.
  • A fix with no evidence does not close the finding.

How Ace8 handles it

Step 1

Assess

Fixed-price first phase. We list applications by Java version and vendor build, match each to the support dates, and rank by exposure and effort.

Step 2

Upgrade

Tests first, then recipe-driven changes with senior engineer review. We start with the applications the finding cares about most.

Step 3

Run

We hand over a report you can give the auditor, and AceMQ supports the upgraded applications 24/7.

What you get

  • Inventory of applications by Java version and vendor build
  • Support-date map with a risk ranking
  • Remediation plan the auditor can review
  • Upgraded applications with test evidence
  • Runbook for the new runtime

A fit when

  • A named finding or questionnaire needs a dated plan.
  • You run many applications and need to know which to fix first.

Not a fit when

  • Your vendor's support covers the version for years and the auditor accepts it in writing.
  • The flagged application is being retired this year.

Sources

Frequently asked questions

Does Oracle charge for every Java install?

No. The charge applies to Oracle's Java SE Universal Subscription, which uses an employee-based metric. Other OpenJDK builds, such as Eclipse Temurin, have their own terms and support dates. Check your own contract and the build you run.

Do I upgrade Java before or after Spring Boot?

Before. Spring Boot 3.0 requires Java 17 or later, so the runtime moves first. Doing it as a separate release means a failure after the change has one cause.

Which Java version should we target?

Most teams aim for Java 21, a long-term support release. Oracle's Java SE Support Roadmap lists Premier Support for Java 21 to September 2028. Your frameworks and vendors may set the floor higher.

Can we stay on Java 8?

Some vendors support Java 8 for years. Temurin 8 is listed as available at least to December 2030. Staying costs you newer frameworks, because Spring Boot 3 needs Java 17 or later.

Get a fixed scope and price before anything moves.

A fixed-price assessment gives you the inventory, the risk score and a phased plan.