mirror of
https://github.com/sbt/sbt.git
synced 2026-10-08 02:53:10 +02:00
Problem: The Unix launcher ignores JAVA_HOME and selects Java from PATH when JAVACMD is absent. Solution: Check JAVA_HOME/bin/java before falling back to PATH while preserving explicit --java-home and JAVACMD precedence. Fixes #9794