Revert "Slight;y better logic to look for tools.jar"
This reverts commit bab9f98d9b.
This commit is contained in:
@@ -39,13 +39,7 @@ public class SpringBootJavaLanguageServer extends STS4LanguageServerProcessStrea
|
||||
commands.add("-Dlsp.completions.indentation.enable=true");
|
||||
commands.add("-Xmx1024m");
|
||||
commands.add("-cp");
|
||||
File toolsJar = getToolsJAR();
|
||||
if (toolsJar!=null) {
|
||||
commands.add(toolsJar + File.pathSeparator + getLanguageServerJARLocation());
|
||||
} else {
|
||||
//TODO: issue a 'missing tools.jar warning somehow depending on the platform?
|
||||
commands.add(getLanguageServerJARLocation());
|
||||
}
|
||||
commands.add(getToolsJAR() + File.pathSeparator + getLanguageServerJARLocation());
|
||||
commands.add("org.springframework.boot.loader.JarLauncher");
|
||||
|
||||
String workingDir = getWorkingDirLocation();
|
||||
|
||||
Reference in New Issue
Block a user