@dominic - I am having the same problem with building TestNG code. I am seeing this error from the last two days.
Here’s the error information
Installing oraclejdk8
export JAVA_HOME=~/oraclejdk8
export PATH="$JAVA_HOME/bin:$PATH"
~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"
Ignoring license option: BCL -- using GPLv2+CE by default
install-jdk.sh 2019-07-17
Expected feature release number in range of 9 to 14, but got: 8
The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during
From the error it looks to me that jdk8 is no longer available and we need to choose at least 9.
Build link : https://travis-ci.org/cbeust/testng/jobs/566166250
Corresponding travis.yml file : https://github.com/cbeust/testng/blob/master/.travis.yml