-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
BloopIssues tied with Bloop integration.Issues tied with Bloop integration.bspIssues tied to the implementation of BSP (Build Server Protocol)Issues tied to the implementation of BSP (Build Server Protocol)bugSomething isn't workingSomething isn't working
Description
Version(s)
1.1.1
Describe the bug
Currently, if the user specifies JDK 11 as the JVM to use as in:
The platform section used for Bloop should show that, but it doesn't:
"platform": { "name": "jvm", "config": { "options": [] }, "mainClass": [] },
This means when running the wrong JVM will be used, the one Bloop runs on.
To Reproduce
//> using scala 3.3.1
//> using jvm adopt:1.11
@main
def main =
println(s"Hello java ${sys.props("java.home")}!")
prints:
Hello java /usr/lib/jvm/graal17! in my case, since I have graal17.
Expected behaviour
Prints:
Hello java <coursier-java-path>!
Metadata
Metadata
Assignees
Labels
BloopIssues tied with Bloop integration.Issues tied with Bloop integration.bspIssues tied to the implementation of BSP (Build Server Protocol)Issues tied to the implementation of BSP (Build Server Protocol)bugSomething isn't workingSomething isn't working