I couldn't find a task for this yet, please close as dup if that wasn't the case.
Jenkins EOL for Java 17 is March 31st:
Java 17 end of life in Jenkins
You are running Jenkins on Java 17, support for which will end on or after Mar 31, 2026. Refer to the documentation for more details.
Upgrade guide here: https://www.jenkins.io/doc/book/platform-information/upgrade-java-to-21
The releases Jenkins are running bookworm and they can install Java 21, unfortunately the CI instances are still on bullseye, which will be a problem