Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

What Java version does current Jenkins require?

IntermediateConceptArchitecture, executors & JENKINS_HOME
Answer

Jenkins LTS releases since 2.463.1 require Java 17 or 21 on the controller and on agents (remoting runs on the agent JVM too). Java 11 support ended in 2024. The official images come as jenkins/jenkins:lts-jdk17 and lts-jdk21; we use JDK 21. Your build tools can use a different JDK, installed in the build container or through the tools directive, because the agent JVM and the build JDK are independent.

All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME