Travis CI builds are failing in "Install oraclejdk8".
James103 opened this issue ยท 1 comments
All Travis CI builds since about 10 months ago have errored with the following error:
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 .
This can be fixed in travis.yml
by using jdk: openjdk8
in place of jdk: oraclejdk8
, or by adding dist: trusty
.