Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40689

Java 10 compatibility

    XMLWordPrintable

    Details

    • Epic Name:
      Java 10 compatibility
    • Similar Issues:

      Description

      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:

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Epic Child JENKINS-38395 [ 174572 ]
            danielbeck Daniel Beck made changes -
            Epic Child JENKINS-37688 [ 173815 ]
            danielbeck Daniel Beck made changes -
            Epic Child JENKINS-40754 [ 177460 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-42413 [ 179318 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-45410 [ 183578 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-45287 [ 183424 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-25601 [ 159172 ]
            batmat Baptiste Mathus made changes -
            Link This issue is related to INFRA-1101 [ INFRA-1101 ]
            batmat Baptiste Mathus made changes -
            Epic Child JENKINS-46600 [ 184932 ]
            batmat Baptiste Mathus made changes -
            Epic Child JENKINS-46602 [ 184934 ]
            batmat Baptiste Mathus made changes -
            Epic Child JENKINS-46603 [ 184935 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46611 [ 184944 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46615 [ 184949 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46616 [ 184950 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46617 [ 184951 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46618 [ 184952 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46619 [ 184953 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46620 [ 184954 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46621 [ 184955 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46622 [ 184956 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46631 [ 184965 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46724 [ 185070 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46725 [ 185071 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46726 [ 185072 ]
            markewaite Mark Waite made changes -
            Epic Child JENKINS-46727 [ 185073 ]
            aheritier Arnaud Héritier made changes -
            Epic Child JENKINS-47260 [ 185675 ]
            jafarre Juan Farré made changes -
            Epic Child JENKINS-47351 [ 185783 ]
            Hide
            wombosvideo Wombos Vid Eo added a comment - - edited

            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.

            Show
            wombosvideo Wombos Vid Eo added a comment - - edited 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.
            tristan107 Tristan Robet made changes -
            Link This issue blocks JENKINS-46523 [ JENKINS-46523 ]
            markewaite Mark Waite made changes -
            Description 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 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|http://forge.ow2.org/projects/asm/] supports JDK 9 as of 23 Sep 2017
            * [Jetty 9.4.8|http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00114.html] supports JDK 9 as of 21 Nov 2017 (using ASM 6.0)
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-47431 [ 185877 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-49737 [ 188680 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-47431 [ 185877 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-49258 [ 188115 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-50240 [ 189268 ]
            danielbeck Daniel Beck made changes -
            Epic Child JENKINS-50240 [ 189268 ]
            krachynski Ken Rachynski made changes -
            Epic Child JENKINS-50301 [ 189342 ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary Java 9 compatibility Java 9+ compatibility
            Hide
            antgel Antony Gelberg added a comment -

            I went with sudo update-alternatives --config java.

            Show
            antgel Antony Gelberg added a comment - I went with sudo update-alternatives --config java .
            antgel Antony Gelberg made changes -
            Link This issue is blocking JENKINS-36792 [ JENKINS-36792 ]
            Hide
            cobexer Christoph Obexer added a comment -

            Is this planned to be fixed in time for the end of Java 8 support?
            See Oracle Java SE Support Roadmap: http://www.oracle.com/technetwork/java/eol-135779.html

            Copying:
            End of Public Updates for Oracle JDK 8
            As outlined in the Oracle JDK Support Roadmap below, Oracle will not post further updates of Java SE 8 to its public download sites for commercial use after January 2019.

            Show
            cobexer Christoph Obexer added a comment - Is this planned to be fixed in time for the end of Java 8 support? See Oracle Java SE Support Roadmap: http://www.oracle.com/technetwork/java/eol-135779.html Copying: End of Public Updates for Oracle JDK 8 As outlined in the Oracle JDK Support Roadmap below, Oracle will not post further updates of Java SE 8 to its public download sites for commercial use after January 2019.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Christoph Obexer in the community we do not ETA and roadmap for it right now.
            There are some changes happening in the background, and there is a general agreement that we should do it somehow. But the timing may differ.

            If the support does not get delivered by Jan 2019, using other JDK distributions may be a temporary solution if you need a Java update. Too early to talk about it now IMHO, the Java 8 EoL date may change again.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Christoph Obexer in the community we do not ETA and roadmap for it right now. There are some changes happening in the background, and there is a general agreement that we should do it somehow. But the timing may differ. If the support does not get delivered by Jan 2019, using other JDK distributions may be a temporary solution if you need a Java update. Too early to talk about it now IMHO, the Java 8 EoL date may change again.
            oleg_nenashev Oleg Nenashev made changes -
            Summary Java 9+ compatibility Java 10 compatibility
            oleg_nenashev Oleg Nenashev made changes -
            Epic Name Java 9 compatibility Java 10 compatibility
            Hide
            oleg_nenashev 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

            Show
            oleg_nenashev 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
            Hide
            jasjuang 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. Antony Gelberg'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.

            Show
            jasjuang 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. Antony Gelberg '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.
            wbeebe William Beebe made changes -
            Epic Child JENKINS-51155 [ 190459 ]
            shalinibk Shalini BK made changes -
            Epic Child JENKINS-51219 [ 190539 ]
            Hide
            brunolaturner 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.

            Show
            brunolaturner 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.
            Hide
            oleg_nenashev 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

            Show
            oleg_nenashev 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 Oleg Nenashev made changes -
            Epic Child JENKINS-50458 [ 189517 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels java10_hackathon
            oleg_nenashev Oleg Nenashev made changes -
            Labels java10_hackathon java10 java10_hackathon java9
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-51805 [ JENKINS-51805 ]
            Hide
            oleg_nenashev 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"

            Show
            oleg_nenashev 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 Oleg Nenashev made changes -
            Epic Child JENKINS-51806 [ 191256 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51807 [ 191257 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51807 [ 191257 ]
            oleg_nenashev Oleg Nenashev made changes -
            Description 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|http://forge.ow2.org/projects/asm/] supports JDK 9 as of 23 Sep 2017
            * [Jetty 9.4.8|http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00114.html] supports JDK 9 as of 21 Nov 2017 (using ASM 6.0)
            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|http://forge.ow2.org/projects/asm/] supports JDK 9 as of 23 Sep 2017
            * [Jetty 9.4.8|http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00114.html] supports JDK 9 as of 21 Nov 2017 (using ASM 6.0)

            http://jdk.java.net/10/release-notes
            oleg_nenashev Oleg Nenashev made changes -
            Description 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|http://forge.ow2.org/projects/asm/] supports JDK 9 as of 23 Sep 2017
            * [Jetty 9.4.8|http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00114.html] supports JDK 9 as of 21 Nov 2017 (using ASM 6.0)

            http://jdk.java.net/10/release-notes
            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|http://forge.ow2.org/projects/asm/] supports JDK 9 as of 23 Sep 2017
            * [Jetty 9.4.8|http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00114.html] supports JDK 9 as of 21 Nov 2017 (using ASM 6.0)

            Change sources:

            * * http://www.oracle.com/technetwork/java/javase/10-relnote-issues-4108729.html
            * http://www.oracle.com/technetwork/java/javase/9all-relnotes-3704433.html
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51823 [ 191273 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51824 [ 191274 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51825 [ 191275 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51832 [ 191306 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-51833 [ JENKINS-51833 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51837 [ 191313 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51839 [ 191315 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51840 [ 191316 ]
            Hide
            oleg_nenashev 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/

            Show
            oleg_nenashev 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 Oleg Nenashev made changes -
            Epic Child JENKINS-51870 [ 191351 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51903 [ 191387 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51985 [ 191482 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51986 [ 191483 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51987 [ 191484 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51987 [ 191484 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51990 [ 191487 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51991 [ 191488 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51994 [ 191491 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child WEBSITE-496 [ 191492 ]
            duemir Denys Digtiar made changes -
            Epic Child JENKINS-51995 [ 191493 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51998 [ 191499 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52001 [ 191502 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52004 [ 191505 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52006 [ 191507 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52007 [ 191508 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child INFRA-1670 [ 191511 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52010 [ 191512 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52011 [ 191513 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is blocking JENKINS-52012 [ JENKINS-52012 ]
            svanoort Sam Van Oort made changes -
            Epic Child JENKINS-52014 [ 191516 ]
            svanoort Sam Van Oort made changes -
            Epic Child JENKINS-52017 [ 191519 ]
            svanoort Sam Van Oort made changes -
            Epic Child JENKINS-52019 [ 191610 ]
            svanoort Sam Van Oort made changes -
            Epic Child JENKINS-52023 [ 191614 ]
            svanoort Sam Van Oort made changes -
            Epic Child JENKINS-52024 [ 191616 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52028 [ 191620 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52029 [ 191621 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child INFRA-1672 [ 191622 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52063 [ 191659 ]
            jonahgraham Jonah Graham made changes -
            Epic Child JENKINS-52068 [ 191664 ]
            jonahgraham Jonah Graham made changes -
            Epic Child JENKINS-52070 [ 191666 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52092 [ 191687 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52093 [ 191688 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52094 [ 191689 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52096 [ 191691 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52097 [ 191692 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52117 [ 191714 ]
            getrostt Tobias Getrost made changes -
            Epic Child JENKINS-52133 [ 191746 ]
            jglick Jesse Glick made changes -
            Epic Child INFRA-1680 [ 191757 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "Java 10 support status page (Web Link)" [ 21000 ]
            olamy Olivier Lamy made changes -
            Epic Child JENKINS-52155 [ 191811 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52178 [ 191931 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51994 [ 191491 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51985 [ 191482 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-52284 [ JENKINS-52284 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52290 [ 192067 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52308 [ 192086 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51986 [ 191483 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-51903 [ 191387 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Child JENKINS-52094 [ 191689 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                17 Vote for this issue
                Watchers:
                40 Start watching this issue

                Dates

                • Created:
                  Updated: