• Icon: Epic Epic
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Java 11 Phase 4: Deprecate support for Java 8

      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:

          [JENKINS-40689] Java 11 Phase 4: Deprecate support for Java 8

          Oleg Nenashev added a comment -

          Java 9 is EoL, so I have renamed ticket to Java 10. It does not change the scope much. Java 11, ehm, may be fun

          Oleg Nenashev added a comment - Java 9 is EoL, so I have renamed ticket to Java 10. It does not change the scope much. Java 11, ehm, may be fun

          Jason Juang added a comment -

          I just wanted to add that I ran into the same problem when upgrading our jenkins server to Ubuntu 18.04. antgel's solution `sudo update-alternatives --config java` solves it for me. For those who are interested, here is what happens after executing the command

          ```

          There are 2 choices for the alternative java (providing /usr/bin/java).

          Selection Path Priority Status
          ------------------------------------------------------------

          • 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode
            1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode
            2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode

          ```

          After I switched back to java 8, and then `sudo service jenkins start` jenkins comes back to life again.

          Jason Juang added a comment - I just wanted to add that I ran into the same problem when upgrading our jenkins server to Ubuntu 18.04. antgel 's solution `sudo update-alternatives --config java` solves it for me. For those who are interested, here is what happens after executing the command ``` There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode ``` After I switched back to java 8, and then `sudo service jenkins start` jenkins comes back to life again.

          > Java 9 is EoL, so I have renamed ticket to Java 10. It does not change the scope much. Java 11, ehm, may be fun

           

          Java 10 will also be EoL soon, in September 2018. On the other hand (Oracle's) Java 11 will be a 5-year Long Term Support version. 11 might be a better target version, instead of pursuing the current rabbit down the hole.

          Bruno Laturner added a comment - > Java 9 is EoL, so I have renamed ticket to Java 10. It does not change the scope much. Java 11, ehm, may be fun   Java 10 will also be EoL soon, in September 2018. On the other hand (Oracle's) Java 11 will be a 5-year Long Term Support version. 11 might be a better target version, instead of pursuing the current rabbit down the hole.

          Oleg Nenashev added a comment -

          > Java 10 will also be EoL soon, in September 2018. On the other hand (Oracle's) Java 11 will be a 5-year Long Term Support version. 11 might be a better target version, instead of pursuing the current rabbit down the hole.

          That's correct. We will definitely change the version when really start working on that seriously. Stay tuned

          Oleg Nenashev added a comment - > Java 10 will also be EoL soon, in September 2018. On the other hand (Oracle's) Java 11 will be a 5-year Long Term Support version. 11 might be a better target version, instead of pursuing the current rabbit down the hole. That's correct. We will definitely change the version when really start working on that seriously. Stay tuned

          Oleg Nenashev added a comment -

          After some consideration I created a separate EPIC for Java 11: JENKINS-51805
          If some tasks here are not feasible for Java 11, we can just close them as "Won't fix"

          Oleg Nenashev added a comment - After some consideration I created a separate EPIC for Java 11: JENKINS-51805 If some tasks here are not feasible for Java 11, we can just close them as "Won't fix"

          Oleg Nenashev added a comment -

          Just in case somebody is interested, we are going to have an online "Jenkins & Java 10" hackathon next week.
          Everybody is welcome to join, see https://jenkins.io/blog/2018/06/08/jenkins-java10-hackathon/

          Oleg Nenashev added a comment - Just in case somebody is interested, we are going to have an online "Jenkins & Java 10" hackathon next week. Everybody is welcome to join, see https://jenkins.io/blog/2018/06/08/jenkins-java10-hackathon/

          Oleg Nenashev added a comment -

          Latest status update is here: https://docs.google.com/document/d/1nIz1STmwOVMJ3vx68m6Xc4pv2oEKDRdyeYUNI8zZJsg/edit#heading=h.1478tpp0nycs 

          We drive this story as a part of Platform Special Interest Group in Jenkins

          Oleg Nenashev added a comment - Latest status update is here: https://docs.google.com/document/d/1nIz1STmwOVMJ3vx68m6Xc4pv2oEKDRdyeYUNI8zZJsg/edit#heading=h.1478tpp0nycs   We drive this story as a part of Platform Special Interest Group in Jenkins

          Oleg Nenashev added a comment -

          We have announced Java 11 support preview in 2.155+ : https://jenkins.io/blog/2018/12/14/java11-preview-availability/

          Any feedback will be appreciated

          Oleg Nenashev added a comment - We have announced Java 11 support preview in 2.155+ : https://jenkins.io/blog/2018/12/14/java11-preview-availability/ Any feedback will be appreciated

          Oleg Nenashev added a comment -

          Java 11 support has been officially released in Jenkins 2.164.1. https://jenkins.io/blog/2019/03/11/let-s-celebrate-java-11-support/ 

          Oleg Nenashev added a comment - Java 11 support has been officially released in Jenkins 2.164.1. https://jenkins.io/blog/2019/03/11/let-s-celebrate-java-11-support/  

          Basil Crow added a comment -

          Let's declare victory on this epic. I have moved any remaining tasks to a follow-up epic, JENKINS-67688.

          Basil Crow added a comment - Let's declare victory on this epic. I have moved any remaining tasks to a follow-up epic, JENKINS-67688 .

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            23 Vote for this issue
            Watchers:
            52 Start watching this issue

              Created:
              Updated:
              Resolved: