Install of Oracle JDK 9 Failing on Xenial builds

As of today, I’ve seen most of our Travis builds fail with this error:

The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "BCL"" failed and exited with 56 during .

Build example: https://travis-ci.org/medic/medic/jobs/597555567

I’ve also tried oraclejdk11 and ran into the same error: https://travis-ci.org/medic/medic/jobs/597583677

1 Like

Also seeing this as well on several of our builds.

https://travis-ci.org/google/error-prone/jobs/597719171

That error was due an outage of jdk.java.net – which is back online again.

I’m seeing this again today…is jdk.java.net just notoriously flaky?

Yes.

That’s why I proposed this last year: Java/JDK on Travis CI

Edit: the log you linked shows that JDK 14-ea was installed successfully, though. Seems like your tests encountered some issues with that version.

Imprint