Install of Oracle JDK 8 Failing

#1

As of today, Oracle licensing has changed and the JDK cannot be downloaded from Oracle any longer without logging in.

This happens when oraclejdk8 is specified.

1 Like
[Solved] Oraclejdk8 installation failing (still/again?)
#2

@stevespringett Sorry for this issue, could you provide us a link to a build showing the error you are getting? Thanks!

#3

Here’s an example build:
https://travis-ci.org/DependencyTrack/dependency-track/builds/520954849

I’ve since changed the build to use openjdk and its working fine.

#4

Same issue here. I also changed to openjdk8 and it started working again.
Maybe you can add a note to the documentation about the “oraclejdk8” jdk?

#5

Hey @phax, 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 this JDK again (i.e. oraclejdk8). Hence, could you try to restart your previously failing build and let me know if it’s fixed on your side as well?

Thanks!

#6

@dominic Thanks for your response. I extended my scripts and added oraclejdk8 in parallel to openjdk8 but it fails: https://travis-ci.org/phax/ph-pdf-layout/jobs/526322862 - hth

Edit: but openjdk11 on trusty works again :smiley:

#7

Further update: oraclejdk8 on trusty seems to work fine: https://travis-ci.org/phax/ParserGeneratorCC - there is a problem in xenial only