Hi,
I saw several issues related to OpenJDK 11 being installed by default, like:
https://travis-ci.community/t/oracle-jdk-11-and-10-are-pre-installed-not-the-openjdk-builds
I wanted to share a hacky workaround that I’ve done on my project.
The approach is basically to manually put jdk_switcher into the repository (as it doesn’t get installed without language: java
), then filter the JDK11 directory out of the PATH variable.
If someone has a better solution to this problem, I’d love to know one.
Cheers,
Dave