Add support for Java 17 in preview form while continuing to support and recommend Java 11.
The most common issue is mixing mocks with JenkinsRule-based integration tests, resolved by either reducing the use of mocks (thereby turning the test into a pure integration test) as was done in JENKINS-68025, or increasing the use of mocks (thereby turning the test into a pure unit test) as was done in JENKINS-69353.
- is blocking
-
JENKINS-67909 Java 17 Phase 2: Deprecate support for Java 11
- Open
How can I run jenkins 2.357 on systemd? I just change the JAVA_HOME environment variable from /opt/jdk11 to /opt/jdk17 but the service failed.
I am using Adoptium Semeru distribution (Open J9) on both versions (11 and 17)