sbt/launcher-package
eugene yokota ec0d181abe
[1.x] fix: Runner should fail on JDK < 17 for sbt 2.x (#8825) (#8854)
**Problem**
Running sbt 2.x with JDK 8 produces a confusing "server was not
detected" error because the JDK version check only required JDK 8+
and only ran in the non-native-client path.

**Solution**
Move java_version detection before the native client decision and add
checkJava17ForSbt2 that requires JDK 17+ when sbt major version >= 2.

Fixes #8813

Co-authored-by: Dream <42954461+eureka928@users.noreply.github.com>
2026-03-01 05:30:13 -05:00
..
bin move to launcher-package/ 2021-04-19 10:45:29 -04:00
citest Test using JDK 25 2025-09-28 05:53:40 -04:00
citest2 [1.x] fix: handle --script-version sbt 2.x project dirs (#8715) (#8737) 2026-02-14 03:50:50 -05:00
integration-test [1.x] fix: Runner should fail on JDK < 17 for sbt 2.x (#8825) (#8854) 2026-03-01 05:30:13 -05:00
src [1.x] fix: Runner should fail on JDK < 17 for sbt 2.x (#8825) (#8854) 2026-03-01 05:30:13 -05:00
upload move to launcher-package/ 2021-04-19 10:45:29 -04:00
CONTRIBUTING.md move to launcher-package/ 2021-04-19 10:45:29 -04:00
LICENSE ci: Split server-test 2025-08-24 00:17:58 -04:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
build.sbt [1.x] require coreutils for RPM (#8712) (#8713) 2026-02-07 19:20:46 -05:00