Skip to content

Commit

Permalink
Properly set command to launch LS Jar
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Sep 10, 2024
1 parent b9fa420 commit a82190b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,13 @@ protected final void initExecutableJarCommand(Path lsDir, String jarPrefix, List
List<String> command = new ArrayList<>();

command.add(runtime.getJavaExecutable());

fillCommand(command, extraVmArgs);

command.add("-jar");

command.add(languageServerRoot.resolve(jarFile).toFile().toString());

fillCommand(command, extraVmArgs);

setCommands(command);

LanguageServerCommonsActivator.getInstance().getLog().info("Command list starting LS: " + connectorId + "\nSTART:\n" + String.join("\n", command) + "\nEND");
Expand Down

0 comments on commit a82190b

Please sign in to comment.