Travis CI Error when installing oraclejdk8
Sometime this month builds in TravisCI started failing when you have something like this in your
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 ↯Tweet Follow @pfreitag
Travis CI Error when installing oraclejdk8 was first published on August 22, 2019.
If you like reading about java, oracle, openjdk, or ci then you might also like:
- TLSv1 and TLSv1.1 Disabled by Default in Java after April 2021
- Java LTS Version Roadmap and Guide
- Updating Java on ColdFusion or Lucee
- What's New in Java 7?
- Cheat Sheet Roundup - Over 30 Cheatsheets for developers