On Saturday, August 2, 2025 at 8:49:45 AM UTC-6 Kelly Holt wrote: This was a tough nut to crack. I updated the LTS jenkins version I had running to 2.516.1 LTS and started jenkins. It started but was using JDK-17. As I had JDK-21 still installed, I stopped jenkins service, used update-alternatives --config java to set it to jdk-21. When I started the new jenkins LTS version with jdk-21, it worked. So, there must have been some incompatibility in 2.504.1 and jdk-21.
I'm glad that the issue is resolved for you, but I'm not aware of any incompatibility between Jenkins 2.504.1 and Java 21 in any configuration. I ran 2.504.1 with Java 21 on Linux in a Docker container for multiple weeks after its release. Others run Jenkins from installation packages with Java 21 on Amazon Linux 2023, Red Hat Enterprise Linux 8 and 9, Debian Linux 11 and 12, Ubuntu 22.04 and 24.04, and more. Automated testing of the installation process uses Java 21 to check that it installs as part of the LTS release checklist <https://github.com/jenkins-infra/release/issues/678>. I'm not aware of any reported issues with Jenkins 2.504.1 and Java 21. The Jenkins usage statistics for the last full month of reported data shows over 47000 installations that are running Jenkins with Java 21. Can you provide enough details so that others can duplicate the failure? Thanks, Mark Waite -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-users/7f24c433-aa7b-4c64-a41e-263b2986617en%40googlegroups.com.
