Cannot install Oracle JDK 11

Hello,

My travis builds are not passing today and I am getting this error :

The command “~/bin/install-jdk.sh --target “/home/travis/oraclejdk11” --workspace “/home/travis/.cache/install-jdk” --feature “11” --license “BCL”” failed and exited with 8 during .

Here is my config :

language: java

jdk:
  - oraclejdk11

I’ve read on this forum that it could be because Oracle changed the URL. Any thoughts ?

Duplicate of https://travis-ci.community/t/install-of-oraclejdk11-is-failing-11-0-3-12

Travis CI only needs to update the install-jdk.sh script.

You may resort to jdk: openjdk11, though.

1 Like

We’ve updated install-sdk.sh, but oraclejdk11 still seems problematic.

Looking into it…

Hm, looks like the “headless” download is no longer supported by Oracle. When triggering a download from their web site (https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html) you’re forwarded to the Oracle login page.

Well, will wait until the end of this week – but install-jdk.sh's support of the Oracle JDK is about to end. Perhaps Travis should forward from oraclejdk* to openjdk* automatically?

1 Like

Tracking progress at https://github.com/sormuras/bach/issues/56