Scrivio Interview library
LeadershipAdvanced6 min read · updated 12 November 2026

Your organisation runs 500 Java services on JDK versions from 8 to 21. How would you get the fleet onto current LTS releases and keep it there?

I would set a clear version policy, with supported LTS versions, deadlines to leave old ones and a target time to adopt each new LTS, and then make upgrading cheap through platform tooling: base images, build plugins, automated recipes and dependency update bots. I would publish each team's version status and the risks of old versions, reserve capacity for upgrades in planning, help the hardest cases directly, and decide case by case to retire services that are not worth upgrading.

Why this question is asked

A fleet spread from JDK 8 to 21 is normal in a company that grew over a decade, and it is a security and cost problem. Old versions stop getting free security fixes, libraries drop support for them, and every engineer has to know several generations of Java. Pushing 500 services to the latest release once is hard; keeping them there is harder, because the next LTS arrives every two years. Interviewers ask this to see whether a senior engineer can turn a one-off campaign into a steady habit. In this answer, we will set a version policy, make upgrades cheap, make status visible, fund the work, and deal with the hardest services.

1A Quick Recap of the Java Release Model

Java ships a feature release every six months, and every two years one of them is a long-term support release, LTS for short. Recent LTS versions are 8, 11, 17, 21 and 25. Vendors give LTS versions years of security updates, while non-LTS releases get only six months. That is why organisations standardise on LTS versions.

Free update periods for older versions are ending one after another, and libraries follow: Spring Boot 3 already requires Java 17, so every service still on 8 or 11 is also stuck on an unsupported Spring version. The gap between versions is a gap in security fixes as well as in features.

2Setting a Version Policy

A policy turns opinions into dates. It says which versions are supported, when old ones must be gone, and how soon after a new LTS teams are expected to adopt it. It is published, agreed with engineering leadership and applied to everyone, which means teams can plan for it instead of being surprised.

Example version policy
VersionStatusRule
25TargetDefault for new services; adopt within 12 months of release
21SupportedAllowed until 12 months after 25 is the target
17DeprecatedMust upgrade by the end of next year
11 and 8UnsupportedException needed; upgrade or retirement plan required
The dates matter more than the exact numbers: everyone knows when each version stops being acceptable.

3Making Upgrades Cheap With Platform Tooling

If upgrading takes a team two weeks of manual work, 500 services is 1,000 weeks of effort, and it will never be done. The platform's job is to make the common case take an afternoon. Base images for each supported JDK, maintained centrally, mean a team changes one tag. A company parent build or Gradle plugin sets the Java version, compiler options and plugin versions in one place.

Automated recipes do the code changes. OpenRewrite has recipes for moving from Java 8 to 11, 11 to 17 and onwards, including javax to jakarta for Spring Boot 3. The platform team runs them across many repositories and opens pull requests, so a team reviews a change instead of writing it. Dependency update bots such as Renovate or Dependabot keep libraries current between upgrades, which is what makes the next JDK move small.

Java
# A platform job opens upgrade pull requests across repositories
for repo in $(cat java17-services.txt); do
git clone "$repo" work && cd work
mvn -q org.openrewrite.maven:rewrite-maven-plugin:run \
-Drewrite.activeRecipes=com.acme.UpgradeToCompanyJava25 # our recipe wraps the public ones
git switch -c upgrade/java-25 && git commit -am "Upgrade to Java 25" && git push
cd .. && rm -rf work # one PR per service
done

Notice that automation does not remove ownership. Each team still reviews, tests and deploys its own pull request. What changes is the cost: most services become a review plus a canary.

4Making Status and Risk Visible

We publish a dashboard of every service with its JDK version, Spring Boot version and owning team, built automatically from build files and running images. Next to each old version we show its risk in plain terms: the date free security fixes ended, known vulnerabilities, and libraries that no longer support it.

Visibility works because nobody wants to be the team with the red row, and because it gives managers facts for planning. It also lets us count progress: if 120 services were on Java 8 in January and 40 remain in June, everyone can see the effort is working.

5Reserving Capacity Instead of Hoping for Spare Time

Upgrades done in spare time never happen, because product work always fills the time. So we agree with product and engineering leaders that a share of each team's capacity, for example a few days per quarter or a fixed percentage, goes to platform currency: JDK, framework and dependency upgrades. It sits in the plan like any feature work.

This is a leadership conversation rather than a technical one. The argument that works is risk and cost: a service two LTS versions behind costs far more to upgrade than one that moves every two years, and an unpatched JDK is a security finding waiting to happen.

Step throughKeeping the fleet current
  1. New LTS releasedfor example Java 25
  2. Platform ships images, plugin, recipeswithin a few weeks
  3. Bots open upgrade PRsteams review in reserved capacity
  4. Service upgraded in the window?
    YesyesNodashboard turns green
  5. Old version reaches its deadlineimages removed, build check fails

5 steps in order. Play them, or step through them one at a time.

6Helping the Hardest Cases and Retiring Others

Some services will not move with recipes: a Java 8 service using a removed API, an old application server, or a library abandoned years ago. For these, the platform team works directly with the owners, often pairing for a week, and the solutions go back into the recipes for others.

Some services are not worth the effort. A tool used by three people, or a service due to be replaced next year, may be better retired or isolated. We decide case by case with the business owner, and if a service must stay on an old version for a while, it gets an explicit exception with a date, extra network isolation and a named owner, rather than being quietly forgotten.

7Follow-up questions

How do you handle services that nobody owns?

First we find an owner, usually through the team that pays for the infrastructure or the business process it serves. If nobody claims it, that is strong evidence it can be retired. We announce a date, turn it off in a test window to see who complains, and remove it if nobody does.

Why adopt each new LTS within a year rather than waiting?

Because the cost of upgrading grows with the distance. Moving one LTS step is usually small, while jumping two or three steps mixes many changes and library upgrades. A fixed adoption window also means the platform team supports only two or three versions at once.

What do you measure to know the policy is working?

The share of services on target and supported versions, the median time from a new LTS release to adoption, and the number of open exceptions. I would also watch the effort per upgrade, which should fall as tooling improves.

8Conclusion

In this answer, we saw how to bring 500 services onto current LTS releases and keep them there. We set a version policy with dates, made upgrades cheap with base images, a shared build setup, OpenRewrite recipes and dependency bots, and published each team's status with the risks of old versions. We reserved capacity for upgrades in planning, helped the hardest services directly and retired those not worth upgrading, with explicit exceptions where needed.

What to say in the interviewAbout 80 seconds aloud

Open with

I would treat it as building a habit rather than running a one-off campaign. First a version policy: which LTS versions are the target, which are supported, the dates by which older ones must be gone, and how soon after a new LTS teams should adopt it, for example within a year.

Then, if they want more

Then I would make upgrading cheap, because 500 services cannot each take two weeks. The platform provides base images per supported JDK, a shared parent build or Gradle plugin that sets the Java version, OpenRewrite recipes that we run across repositories to open pull requests, and Renovate or Dependabot to keep libraries current between upgrades.

I would publish a dashboard generated from the repositories and images that shows each team's versions and the risk of old ones, like the end of free security fixes. To make sure the work happens, I would agree with leadership that each team reserves some capacity for platform currency, because spare time never comes.

For the hardest services, the platform team pairs with the owners and turns the solutions into recipes. And some services are not worth upgrading: with the business owner we decide case by case to retire them, or give a time-limited exception with isolation and a named owner.

About this answer

Last updated
12 November 2026
Versions it names
Java 8, Spring Boot 3, Java 17, Java 25
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Your organisation runs 500 Java services on JDK versions from 8 to 21. How would you get...": https://scrivio-interview-library.netlify.app/architecture/modernization/f7eef4635a/