Travis CI Error when installing oraclejdk8

August 22, 2019
java

Sometime this month builds in TravisCI started failing when you have something like this in your .travis.yml file:

jdk:
- oraclejdk8

The error looks like this:

Installing oraclejdk8
...
install-jdk.sh 2019-07-17
Expected feature release number in range of 9 to 14, but got: 8

To fix this, assuming you want to keep testing with java 8 and not another version of java, you can switch to openjdk8 and build will start to pass:

jdk:
- openjdk8

Like this? Follow me ↯


You might also like:

1 person found this page useful, what do you think?

Post a Comment




  






Foundeo Inc.