#!/bin/sh set -eu export MAKEFLAGS="-j${NPROC:-$(nproc)}" version_jdk17=17.0.1+12 version_jdk16=16.0.2+7 version_jdk15=15.0.3+3 version_jdk14=14.0.2+12 version_jdk13=13.0.5.1+1 version_jdk12=12.0.2+10 version_jdk11=11.0.12+7 version_jdk10=10.0.2+13 version_jdk9=9+181 [ ! -d build/install-gcc ] && ./build_gcc.sh [ ! -d build/install-ant ] && ./build_ant.sh [ ! -d build/install-icedtea7 ] && ./build_icedtea7.sh [ ! -d build/install-icedtea8 ] && ./build_icedtea8.sh [ ! -d build/install-make42 ] && ./build_make42.sh [ ! -d build/install-jdk9 ] && ./build_jdk.sh icedtea8 jdk9 "$version_jdk9" [ ! -d build/install-jdk10 ] && ./build_jdk.sh jdk9 jdk10 "$version_jdk10" [ ! -d build/install-jdk11 ] && ./build_jdk.sh jdk10 jdk11 "$version_jdk11" [ ! -d build/install-jdk12 ] && ./build_jdk.sh jdk11 jdk12 "$version_jdk12" [ ! -d build/install-jdk13 ] && ./build_jdk.sh jdk12 jdk13 "$version_jdk13" [ ! -d build/install-jdk14 ] && ./build_jdk.sh jdk13 jdk14 "$version_jdk14" [ ! -d build/install-jdk15 ] && ./build_jdk.sh jdk14 jdk15 "$version_jdk15" [ ! -d build/install-jdk16 ] && ./build_jdk.sh jdk15 jdk16 "$version_jdk16" [ ! -d build/install-jdk17 ] && ./build_jdk.sh jdk16 jdk17 "$version_jdk17"