Install-jdk.sh failing for openjdk9 and 10

You are right and I am tired of this situation. I am going to fix this.

1 Like

Sounds very promising, Danilo. Are you working for Travis CI?

Nope :slight_smile:
I am preparing a set of scripts.

Jabba works great!

Multi-OS Jabba integration:

Thanks @DanySK

@jayvdb you are welcome!

FYI - I’ll revert to install-jdk.sh to only support JDK builds loadable from https://jdk.java.net

Details at https://github.com/sormuras/bach/issues/62

Uploaded install-jdk.sh 2019-07-06 – Travis CI needs to update their copy the script.

/cc @BanzaiMan et al

All “legacy” JDKs, that includes 9 and 10, are loaded from Archived OpenJDK GA Releases which says:

This page is an archive of previously released builds of the JDK licensed under the GNU General Public License, version 2, with Classpath Exception.

WARNING: These older versions of the JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production.

install-jdk.sh no longer supports “natively” installing from AdoptOpenJDK.

Trying out xenial, and I see openjdk7 is not working there

$ ~/bin/install-jdk.sh --target "/home/travis/openjdk7" --workspace "/home/travis/.cache/install-jdk" --feature "7" --license "GPL" --cacerts
Ignoring license option: GPL -- using GPLv2+CE by default
install-jdk.sh 2019-07-17
Expected feature release number in range of 9 to 14, but got: 7

https://travis-ci.org/jayvdb/coala-bears/jobs/560577227

Despite it saying it is expecting 9+ , openjdk8 is working on xenial.
https://travis-ci.org/jayvdb/coala-bears/jobs/560577223

(Rechecked openjdk7 on trusty, and it is still working https://travis-ci.org/jayvdb/coala-bears/jobs/560770254)

Hi Guys, from this morning my travis builds are failing because of below error

install-jdk.sh 2020-06-02

The command "~/bin/install-jdk.sh --target "/Users/travis/openjdk11" --workspace "/Users/travis/.cache/install-jdk" --feature "11" --license "GPL"" failed and exited with 56 during .

I am running my builds on macOS 10.14, even for oraclejdk11 fails.
Is this a temporary thing?