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

Oracle JDK 10 not available anymore - Oracle JDK 11 is not free

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The automatic installation of Tool JDK 10 failed today for us with a 404. It seems Oracle JDK 10 not available anymore at all. And Java 11 cannot be used in production due to new licences. No JDK 11 is available in Jenkins java.sun.com JDK Tool installer.

      https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html

      I guess the tool installer should be changed to use http://openjdk.java.net/projects/jdk/11/ (downloaded from http://jdk.java.net/11/).

      Acceptance criteria

      • a JDK 11 is proposed as download
      • ideally, see if we can still propose JDK10,
      • and JDK12

        Attachments

          Issue Links

            Activity

            Hide
            batmat Baptiste Mathus added a comment -

            More and more inclined to say this feature anyway was nice for demos, but for real usage should not be used. Because it means your internal servers are constantly downloading binaries from outside.

            • It can end up with your company network being banned for excessive bandwidth consumption
            • in case of public network glitch, all your builds start to die
            Show
            batmat Baptiste Mathus added a comment - More and more inclined to say this feature anyway was nice for demos, but for real usage should not be used. Because it means your internal servers are constantly downloading binaries from outside. It can end up with your company network being banned for excessive bandwidth consumption in case of public network glitch, all your builds start to die
            Hide
            falcon benoit guerin added a comment -

            Files downloaded from oracle.com are cached in a folder on the master (~/cache/jdks) ...

            Maybe you can ask the community if this feature is used / usefull or not.

            Show
            falcon benoit guerin added a comment - Files downloaded from oracle.com are cached in a folder on the master ( ~/cache/jdks ) ... Maybe you can ask the community if this feature is used / usefull or not.
            Hide
            batmat Baptiste Mathus added a comment -

            Given your comment, I think we are talking about two different things: this plugin allows people to:

            • either use a pre-filled combo, select JDK, and have Jenkins automatically download it from oracle.com.
            • or the other way (which should the strongly recommended one [1]) is to do it very similarly, but define the JDK name, a custom URL (usually pointing to some internal webserver, ideally some binary repository like Nexus or Artifactory where you'll have uploaded some jdk.zip yourself), and then from a Jenkins user standpoint it looks absolutely the same.
              The huge difference is that using the latter strategy you don't risk to block your whole build infra because your Internet access has a temporary network glitch, or a more durable stop if oracle.com starts banning your IP, after getting annoyed that you keep downloading the same thing dozens or hundreds of times a day from their servers (bandwidth does cost some money ).

            I hope this clarifies.

            [1] Unfortunately, I didn't check, but I don't think this is currently correctly documented. We should be able to fix this soon I hope. (PRs welcome, though . Happy to help anyone doing this).

            Show
            batmat Baptiste Mathus added a comment - Given your comment, I think we are talking about two different things: this plugin allows people to: either use a pre-filled combo, select JDK, and have Jenkins automatically download it from oracle.com. or the other way (which should the strongly recommended one [1] ) is to do it very similarly, but define the JDK name, a custom URL (usually pointing to some internal webserver, ideally some binary repository like Nexus or Artifactory where you'll have uploaded some jdk.zip yourself), and then from a Jenkins user standpoint it looks absolutely the same. The huge difference is that using the latter strategy you don't risk to block your whole build infra because your Internet access has a temporary network glitch, or a more durable stop if oracle.com starts banning your IP, after getting annoyed that you keep downloading the same thing dozens or hundreds of times a day from their servers (bandwidth does cost some money ). I hope this clarifies. [1] Unfortunately, I didn't check, but I don't think this is currently correctly documented. We should be able to fix this soon I hope. (PRs welcome, though . Happy to help anyone doing this).
            Hide
            dnusbaum Devin Nusbaum added a comment -

            Baptiste Mathus I added this warning when I split the plugin from core, but it could probably be updated to be more accurate and put in a more visible location so that you don't have to click into the help text to see it.

            Show
            dnusbaum Devin Nusbaum added a comment - Baptiste Mathus I added this warning when I split the plugin from core, but it could probably be updated to be more accurate and put in a more visible location so that you don't have to click into the help text to see it.
            Hide
            batmat Baptiste Mathus added a comment -

            Devin Nusbaum awesome! Yes, so then I guess we'll see possibly just make a pass to see if/how we can make this even more visible. But that's already great. Thanks!

            Show
            batmat Baptiste Mathus added a comment - Devin Nusbaum awesome! Yes, so then I guess we'll see possibly just make a pass to see if/how we can make this even more visible. But that's already great. Thanks!

              People

              • Assignee:
                Unassigned
                Reporter:
                marcus_phi Marcus Philip
              • Votes:
                7 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated: