openjdk12, which used to work flawlessly, abruptly stopped working yesterday. I guess it might be due to the official release.
When configured for running on openjdk12, the build now fails with:
Installing openjdk12
$ export JAVA_HOME=~/openjdk12
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/openjdk12" --workspace "/home/travis/.cache/install-jdk" --feature "12" --license "GPL" --cacerts
install-jdk.sh 2019-01-18 II
Couldn't determine a download url for 12-GPL on linux-x64
The command "~/bin/install-jdk.sh --target "/home/travis/openjdk12" --workspace "/home/travis/.cache/install-jdk" --feature "12" --license "GPL" --cacerts" failed and exited with 1 during .
Your build has been stopped.
@BanzaiMan please update Travis’ copy of install-jdk.sh – Thanks!
PS: Travis should really provide GA’ed versions of OpenJDK by its own infrastructur. Or use a tool like SDKMAN or jabba. install-jdk.sh supports EA versions of OpenJDK best.
We’ve been getting intermittent build failures for JDK12. The install-jdk script seems to be working just fine but the download server is either rate limiting or there’s some other intermittent network issue. Any word on actually getting jdk12 installed on the build images?
Installing openjdk12
$ export JAVA_HOME=~/openjdk12
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/openjdk12" --workspace "/home/travis/.cache/install-jdk" --feature "12" --license "GPL" --cacerts
install-jdk.sh 2019-04-18
The command "~/bin/install-jdk.sh --target "/home/travis/openjdk12" --workspace "/home/travis/.cache/install-jdk" --feature "12" --license "GPL" --cacerts" failed and exited with 7 during .
Your build has been stopped.
Unfortunately, something seems to have changed on Oracle’s servers that was making JDK runtime installation to fail. See the following for more details: https://github.com/sormuras/bach/issues/51.
Following on from that, I just did some tests before writing you back and it seems that the issue got fixed as I’m now able to install these JDKs again. Hence, could you try to restart your previously failing build and let me know if it’s fixed on your side as well?