Skip to content

Commit a82190b

Browse files
committed
Properly set command to launch LS Jar
1 parent b9fa420 commit a82190b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eclipse-language-servers/org.springframework.tooling.ls.eclipse.commons/src/org/springframework/tooling/ls/eclipse/commons/STS4LanguageServerProcessStreamConnector.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,13 @@ protected final void initExecutableJarCommand(Path lsDir, String jarPrefix, List
109109
List<String> command = new ArrayList<>();
110110

111111
command.add(runtime.getJavaExecutable());
112+
113+
fillCommand(command, extraVmArgs);
114+
112115
command.add("-jar");
113116

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

116-
fillCommand(command, extraVmArgs);
117-
118119
setCommands(command);
119120

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

0 commit comments

Comments
 (0)