#!/bin/sh set -eu version_jdk17=17.0.1+12 # https://github.com/openjdk/jdk17u/tags version_jdk16=16.0.2+7 # https://github.com/openjdk/jdk16u/tags version_jdk15=15.0.3+3 # https://hg.openjdk.java.net/jdk-updates/jdk15u/tags version_jdk14=14.0.2+12 # https://hg.openjdk.java.net/jdk-updates/jdk14u/tags version_jdk13=13.0.5.1+1 # https://hg.openjdk.java.net/jdk-updates/jdk13u/tags version_jdk12=12.0.2+10 # https://hg.openjdk.java.net/jdk-updates/jdk12u/tags version_jdk11=11.0.12+7 # https://hg.openjdk.java.net/jdk-updates/jdk11u/tags version_jdk10=10.0.2+13 # https://hg.openjdk.java.net/jdk-updates/jdk10u/tags version_jdk9=9+181 # https://hg.openjdk.java.net/jdk/jdk/tags version_make42=4.2.1 # https://ftp.gnu.org/gnu/make/ version_icedtea8=3.21.0 # https://icedtea.classpath.org/wiki/Main_Page#Getting_IcedTea version_icedtea7=2.6.28 # https://icedtea.classpath.org/wiki/Main_Page#Getting_IcedTea (2.6.18+ seems to fail) version_ant=1.9.16 # https://ant.apache.org/manual-1.9.x/index.html version_gcc=6.5.0 # Final version version_ecj=4.9 # Final version mkdir -p download cd download wget -O "jdk17u-jdk-$version_jdk17.tar.gz" -c "https://github.com/openjdk/jdk17u/archive/refs/tags/jdk-$version_jdk17.tar.gz" wget -O "jdk16u-jdk-$version_jdk16.tar.gz" -c "https://github.com/openjdk/jdk16u/archive/refs/tags/jdk-$version_jdk16.tar.gz" wget -O "jdk15u-jdk-$version_jdk15.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk15u/archive/jdk-$version_jdk15.tar.bz2" wget -O "jdk14u-jdk-$version_jdk14.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk14u/archive/jdk-$version_jdk14.tar.bz2" wget -O "jdk13u-jdk-$version_jdk13.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk13u/archive/jdk-$version_jdk13.tar.bz2" wget -O "jdk12u-jdk-$version_jdk12.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk12u/archive/jdk-$version_jdk12.tar.bz2" wget -O "jdk11u-jdk-$version_jdk11.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk11u/archive/jdk-$version_jdk11.tar.bz2" wget -O "jdk10u-jdk-$version_jdk10.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk10u/archive/jdk-$version_jdk10.tar.bz2" wget -O "jdk-jdk-$version_jdk9.tar.bz2" -c "https://hg.openjdk.java.net/jdk/jdk/archive/jdk-$version_jdk9.tar.bz2" wget -c "https://ftp.gnu.org/gnu/make/make-$version_make42.tar.bz2" wget -c "http://icedtea.classpath.org/download/source/icedtea-$version_icedtea8.tar.xz" wget -c "http://icedtea.classpath.org/download/source/icedtea-$version_icedtea7.tar.xz" wget -c "https://archive.apache.org/dist/ant/source/apache-ant-$version_ant-src.tar.bz2" wget -c "https://ftp.gnu.org/gnu/gcc/gcc-$version_gcc/gcc-$version_gcc.tar.xz" wget -c "ftp://sourceware.org/pub/java/ecj-$version_ecj.jar" wget -O javac.in -c 'https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-java/gcj-jdk/files/javac.in?id=56bd759df1d0c750a065b8c845e93d5dfa6b549d' for part in corba hotspot jaxp jaxws jdk langtools openjdk; do wget -O "icedtea-$version_icedtea7-$part.tar.bz2" -c "http://icedtea.classpath.org/download/drops/icedtea7/$version_icedtea7/$part.tar.bz2" done for part in corba hotspot jaxp jaxws jdk langtools nashorn openjdk; do wget -O "icedtea-$version_icedtea8-$part.tar.xz" -c "http://icedtea.classpath.org/download/drops/icedtea8/$version_icedtea8/$part.tar.xz" done sha256sum -c ../download.sha256