Travis CI Error when installing oraclejdk8
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 ↯
Tweet Follow @pfreitagTravis 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
Want Security Advisories via Email?
Advisory Week is a new weekly email containing security advisories published by major software vendors (Adobe, Apple, Microsoft, etc).