sbt/launcher-package
BitToby be305eb3a5
fix: Use sbt script in BSP config instead of hardcoded Java path (#8920)
**Problem**

sbt bspConfig writes the absolute path of the current Java binary into .bsp/sbt.json. When the user switches Java versions (via sdkman, cs java, etc.) or removes that JDK, the IDE fails to start the sbt BSP server because the hardcoded path is stale or gone.

**Solution**

When an sbt launcher script is available (via `sbt.script` system property or PATH lookup), generate:

"argv": ["/path/to/sbt", "bsp"]
2026-03-19 20:57:53 -04:00
..
bin fix typo 2025-01-02 13:52:51 +09:00
citest Scala 3.8.2 (#8805) 2026-02-24 00:29:44 -05:00
citest2 Scala 3.8.2 (#8805) 2026-02-24 00:29:44 -05:00
integration-test fix: Use sbt script in BSP config instead of hardcoded Java path (#8920) 2026-03-19 20:57:53 -04:00
src fix: Use sbt script in BSP config instead of hardcoded Java path (#8920) 2026-03-19 20:57:53 -04:00
upload Spelling (#8028) 2025-02-04 01:11:28 -05: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 Format launcher-package/build.sbt (#8898) 2026-03-11 20:11:02 -04:00