CloudBreaks › GCP Cloud Run functions › Java 21 (java21) deprecation

GCP 1736 days

GCP Cloud Run functions Java 21 (java21) end of life (deprecation)

By September 2031 (GCP only names the month, so plan for the start of it): move to java25+. After that, Java 21 (java21) on GCP Cloud Run functions is still yours to run; it just isn't anyone's job to patch. Source: cloud.google.com, checked 2026-11-04.

What's retiring
Java 21 (java21) deprecation (GCP Cloud Run functions)
When
September 2031 (we only have the month, so the day count runs from the 1st)
Days left
About 1736 days left, as of 2026-11-30.
What happens
No runtime support; no decommission date published yet.
What to do
Move to java25+.
Kind of change
Runtime end of life
Official source
cloud.google.com ↗ (last checked 2026-11-04)

Providers move dates. Check the official source before you plan a migration around this one.

Other GCP Cloud Run functions deadlines

Everything else we track for this service, soonest first. Full table on the GCP Cloud Run functions deprecation schedule.

Same version on other clouds

Other providers retiring Java 21, soonest first.

Get these in your calendar

Every GCP deadline, as a feed.

Spotted one we missed?

Send the link to the announcement. If it checks out, it goes on the list.

Submit a deprecation