Since changing the logic for determining if a folder is a proper JDK/JRE in order to support Java9+, a system Java9+ would always take precedence over the bundled Java8 one. This PR fixes this behavior and adds an extremely inelegant hack to also make this work on macOS.
Since changing the logic for determining if a folder is a proper JDK/JRE in order to support Java9+, a system Java9+ would always take precedence over the bundled Java8 one. This PR fixes this behavior and adds an extremely inelegant hack to also make this work on macOS.