install_base.sh: Improve JAVA_HOME detection
Make sure to pick paths matching */bin/java to avoid picking up other paths containing the java version and ending with "java". For example, the runners on GitHub actions seems to have this path, which randomly gets selected: /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/sample/nio/file/java
Loading
Please register or sign in to comment