Java 17 end of life warning — still running on LTS 2.541.x, safe to continue?

Jenkins Version: 2.541.x (LTS)
Java Version: 17 (java -version output)
OS: Ubuntu / deployment type

I’m seeing the Java 17 EOL admin monitor warning on my Jenkins instance.
I understand the next LTS baseline (April 15, 2026) will drop Java 17 support.

Questions:

  1. Is it safe to continue running on Java 17 until I migrate?
  2. Is there a specific Jenkins LTS version I should upgrade to with Java 21?
  3. Any plugin compatibility concerns to watch out for during Java 21 upgrade?

It depends how long you remain on Java 17. When you choose to remain on Java 17, you choose to remain with Jenkins 2.541.3 (LTS). When the next security vulnerability is published, it will be resolved in a Jenkins release that requires Java 21 or newer. You won’t be able to upgrade to that newer Jenkins version until you upgrade from Java 17 to Java 21.

You can remain with your current Jenkins LTS version when you upgrade to Java 21. The Java support policy notes that Jenkins versions 2.479.1 and later support Java 21.

None that I recall.

1 Like