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:

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 to install the jdk which causes build errors.

Build: Travis CI - Test and Deploy with Confidence