Travis CI unable to install openjdk8 when other openjdk versions are included

When I add openjdk11 and 15 to my build along with openjdk8 the build fails. Other versions work fine.

My build:
https://travis-ci.org/github/Johan2403/OPMonsters/builds/755793765

Please help me and thanks in advance.

Ok I fixed this issue by changing my linux distribution to bionic. I used focal there. I think this an isuue with travis-ci.

1 Like

Additional info: It seems that this problem occurs when I use openjdk8 regardless of other openjdk versions present or not. This problem is only in focal images. It is using the install-jdk.sh to install the jdk which causes build errors.

Build: Travis CI - Test and Deploy with Confidence