> Am 09.04.2025 um 20:07 schrieb 'Maciej Jaros' via Jenkins Users > <jenkinsci-users@googlegroups.com>: > > I received a message about "Java 17 end of life in Jenkins." I assume this > means I should install JDK21 ASAP, right? The docs don't seem to be ready for > that, though. > > This still only mentions JDK17: > https://www.jenkins.io/doc/book/installing/linux/ > https://www.jenkins.io/doc/book/installing/linux/#installation-of-java > >> Update the Debian apt repositories, install OpenJDK 17, and check the >> installation with the commands: >> ... > I would assume it should now suggest using JDK21, right? > > Even platform information only talk about upgrades to JDK11 and JDK17: > https://www.jenkins.io/doc/book/platform-information/ > > >> Java support and upgrade information >> >> In addition to support policies, this chapter provides information on >> upgrading your Java version in Jenkins. Depending on your current Java >> version, there are instructions for upgrading to Java 11 and upgrading to >> Java 17. > > > Java support policy does mention JDK21, but doesn't mention a version that > would break support with JDK17 > https://www.jenkins.io/doc/book/platform-information/support-policy-java/index.html > > Perhaps the message was sen too early in Jenkins 2.492.3? > > Regards, > Maciej Nux. >
Yes, you are right. It makes sense to switch to Java 21 in the next couple of months (actually I never understood why one should not directly move from Java 11 to Java 21 for the controllers, as we also fully support Java 21 from the beginning of the Java 17 switch). The plan is to switch the weekly Jenkins releases to Java 21 in the middle of this year. See https://www.jenkins.io/blog/2023/11/06/introducing-2-2-2-java-support-plan/ If you find such wrong references of the Java version in out documentation it would be helpful if you can either create an issue in Jira or even better: click the „Improve the page“ button and fix the corresponding page by yourself. This helps us a lot as the documentation is spread along a lot of different files... Ulli -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-users/2AD37EBF-55A9-4431-9B7E-0F1D01FD2403%40gmail.com.