• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • jdk-tool-plugin
    • None

      According to https://www.oracle.com/java/technologies/javase/jdk-faqs.html Java 17 is again available under a pretty open license. Unfortunately the warning in https://github.com/jenkinsci/jdk-tool-plugin/blob/1b32b6caf9cafdabcabcce1d9199502543608bc3/src/main/resources/hudson/tools/JDKInstaller/config.jelly#L52 still lists all JDKs above 11 incorrectly as not available for free.

      In addition the installer only provides versions from https://github.com/jenkins-infra/crawler/blob/08c68c085ab7151aaf703c28ac44114071cda9e5/jdk.groovy#L31 which is the hardcoded list from https://github.com/jenkins-infra/crawler/blob/master/jdk.hack.json

      This hardcoded list should be removed to allow downloading/installing newer Oracle JDK versions.

          [JENKINS-69876] Provide Oracle Java SE 17+

          Konrad Windszus added a comment - - edited

          Also there is now https://www.oracle.com/java/technologies/jdk-script-friendly-urls/ for Java 17 and newer.

          All URLs for the archive are available from https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html,[https://www.oracle.com/java/technologies/javase/jdk18-archive-downloads.html|https://www.oracle.com/java/technologies/javase/jdk18-archive-downloads.html] and https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html

          Konrad Windszus added a comment - - edited Also there is now https://www.oracle.com/java/technologies/jdk-script-friendly-urls/ for Java 17 and newer. All URLs for the archive are available from https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ,[https://www.oracle.com/java/technologies/javase/jdk18-archive-downloads.html|https://www.oracle.com/java/technologies/javase/jdk18-archive-downloads.html] and https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: