Unable to build with jdk: openjdk16. "Couldn't determine a download url for 16-GPL on linux-x64"

Anyone got a workaround for “Couldn’t determine a download url for 16-GPL on linux-x64” error?


My travis build is broken
in .travis.yml contains:

language: java
jdk:
  - openjdk16

Travis CI log give the error:
Couldn’t determine a download url for 16-GPL on linux-x64

Installing openjdk16

176$ export JAVA_HOME=~/openjdk16

177$ export PATH="$JAVA_HOME/bin:$PATH"

178$ ~/bin/install-jdk.sh --target "/home/travis/openjdk16" --workspace "/home/travis/.cache/install-jdk" --feature "16" --license "GPL" --cacerts

179Ignoring license option: GPL -- using GPLv2+CE by default

180install-jdk.sh 2020-06-02

181Couldn't determine a download url for 16-GPL on linux-x64

182The command "~/bin/install-jdk.sh --target "/home/travis/openjdk16" --workspace "/home/travis/.cache/install-jdk" --feature "16" --license "GPL" --cacerts" failed and exited with 1 during .

183

184Your build has been stopped.
2 Likes

Same for openjdk17 for around 2 days

Installing openjdk17

$ export JAVA_HOME=~/openjdk17

$ export PATH="$JAVA_HOME/bin:$PATH"

$ ~/bin/install-jdk.sh --target "/home/travis/openjdk17" --workspace "/home/travis/.cache/install-jdk" --feature "17" --license "GPL" --cacerts

Ignoring license option: GPL -- using GPLv2+CE by default

install-jdk.sh 2020-06-02

Couldn't determine a download url for 17-GPL on linux-x64

The command "~/bin/install-jdk.sh --target "/home/travis/openjdk17" --workspace "/home/travis/.cache/install-jdk" --feature "17" --license "GPL" --cacerts" failed and exited with 1 during .

openjdk11.

$ export JAVA_HOME=~/openjdk11
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/openjdk11" --workspace "/home/travis/.cache/install-jdk" --feature "11" --license "GPL" --cacerts
Ignoring license option: GPL -- using GPLv2+CE by default
install-jdk.sh 2020-06-02
Couldn't determine a download url for 11-GPL on linux-x64
The command "~/bin/install-jdk.sh --target "/home/travis/openjdk11" --workspace "/home/travis/.cache/install-jdk" --feature "11" --license "GPL" --cacerts" failed and exited with 1 during .

This looks like something that could help us.