[Solved] Oraclejdk8 installation failing (still/again?)

I have a fairly trivial configuration:

language: scala

script: admin/build.sh

jdk:
- oraclejdk8
- openjdk11

This suddenly stopped working. Might be a return of this issue. Could you please provide a fix?

Link to job

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"
install-jdk.sh 2019-05-02
Expected feature release number in range of 9 to 13, 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 .
Your build has been stopped.
1 Like

FTR - you gotta add

dist: trusty

to .travis.yml.

Seems like something that should be selected internally by travis. It’s silly to lock all other builds to that distro