Skip to content

[1.10.3] Metals stopped working with the embedded launcher jar #7792

@eed3si9n

Description

@eed3si9n

steps

Invoke BSP server as specified in bsp JSON that we generated.

problem

2024.10.21 14:06:01 INFO  BSP server: [info] server was not detected. starting an instance
2024.10.21 14:06:01 INFO  BSP server: [warn] server is started using sbt-launch jar directly
2024.10.21 14:06:01 INFO  BSP server: [warn] this is not the recommended way: .sbtopts and .jvmopts files are not loaded and SBT_OPTS is ignored
2024.10.21 14:06:01 INFO  BSP server: [warn] either upgrade sbt to its latest version or make sure it is accessible from $PATH, and run 'sbt bspConfig'
2024.10.21 14:06:01 INFO  BSP server: Unrecognized option: --server
2024.10.21 14:06:01 INFO  BSP server: Error: Could not create the Java Virtual Machine.
2024.10.21 14:06:01 INFO  BSP server: Error: A fatal exception has occurred. Program will exit.

notes

Likely this is caused by #7775

Originally posted by @tgodzik in #7775 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions