Currently Jenkins does not support Java 9, but we may want to do it soon. I have created this EPIC to start aggregating issues reported by users.
Assumed that many of the components in Jenkins will need updates for Java 9 support. For example:
- ASM 6.0 supports JDK 9 as of 23 Sep 2017
- Jetty 9.4.8 supports JDK 9 as of 21 Nov 2017 (using ASM 6.0)
Change sources:
- depends on
-
JENKINS-52284 Java 11 Phase 3: Support Java 11 in LTS
-
- Resolved
-
- is blocking
-
JENKINS-67688 Java 11 Phase 5: Require Java 11 or newer
-
- Closed
-
- relates to
-
JENKINS-51833 Jenkins & Java 10+ Hackathon prework
-
- Resolved
-
- links to
Jenkins supports Java 9 on Debian if you install OracleJava8 by Webupd8 and replace the binary files with java 9 files from http://jdk.java.net/9/ (or at least it did)
I do not recommend this as it gave me errors in the settings I was not able to resolve by myself. Additionally, I just tested this on a new server and it now says that the version is not supported which is the way it should be.