Oracle JDK11 build error

what can I do to fix this?https://travis-ci.org/apache/incubator-dubbo-ops/jobs/480200795

This is a duplicate of

I don’t find solution in that post, how to fix this?

You’ll have to wait until the fix is released.

Fix merged to install-jdk.sh via https://github.com/sormuras/bach/commit/b109441fbbf59f02c2fe0734d576333c6bf72c46

It seems jdk11 build starts failing again.

It looks like only Trusty is affected:

Is it an option for you to add dist: xenial to your config? Probably a good move given Trusty will be EOL at the end of the month.

Let me know what you think!

Hello.

So we are using both oraclejdk8 and openjdk11 in our Travis builds. After reading this thread I tried switching from trusty to xenial, and openjdk11 started working but oraclejdk8 broke.

Here is job with trusty: https://travis-ci.org/runelite/runelite/builds/525290999
And here on patch changing to xenial: https://travis-ci.org/runelite/runelite/builds/525391015

I can’t find anything related to this online. Any info why this is happening?

Hey @deathbeam, sorry for the troubles.

Unfortunately, something seems to have changed on Oracle’s servers that was making JDK runtime installation to fail. See the following for more details: https://github.com/sormuras/bach/issues/51.

Following on from that, I just did some tests before writing you back and it seems that the issue got fixed as I’m now able to install these JDKs again. Hence, could you try to restart your previously failing build and let me know if it’s fixed on your side as well?

Thanks!

Hi, looks like oraclejdk11 is erroring again. Started happening yesterday and is still happening today.

Example build: https://travis-ci.com/yetibot/yetibot.core/jobs/210599569

Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/11.0.3+12/37f5e150db5247ab9333b11c1dddcd30/jdk-11.0.3_linux-x64_bin.tar.gz...
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 .

The above URL 302s to Unauthorized Request
which contains the message:

Sorry!
In order to download products from Oracle Technology Network you must agree to the OTN license terms.

Please see Install of oraclejdk11 is failing (11.0.3+12) for updates.