Skip to content

Commit

Permalink
travis.yml: Choose dist trusty to fix Java 8
Browse files Browse the repository at this point in the history
The upgrade to Xenial broke Java 8, as Trusty contained Java 8 whereas
Xenial uses Java 11. So this "flipped" which version was necessary to be
downloaded from Java 11 to Java 8. And Java 8 is not supported by
install-jdk.sh.

Workaround as seen at:
https://travis-ci.community/t/oracle-jdk-11-and-10-are-pre-installed-not-the-openjdk-builds/785/16

I hope this is temporary.
  • Loading branch information
ejona86 committed May 1, 2019
1 parent e8be55e commit 97cb055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ after_success:
os:
- linux

dist: trusty

jdk:
- oraclejdk8
- openjdk11
Expand Down

0 comments on commit 97cb055

Please sign in to comment.