Replies: 4 comments 2 replies
-
I am facing the same issue on Windows with jlts. Please let me know what are the steps you are trying, so that I can try that as well. And update here. Jlts configuration feels bit intimidating. |
Beta Was this translation helpful? Give feedback.
-
I do not have a Windows machine to try this on, but what's the exact problem to starting the LSP with java? Does something like this not work on Windows?
|
Beta Was this translation helpful? Give feedback.
-
Why can't you just run |
Beta Was this translation helpful? Give feedback.
-
Created PR here eclipse-jdtls/eclipse.jdt.ls#2808 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The file to start Java Eclipse JDT Language Server "jdtls" is a python script and not a binary / executable file.
Which means for helix to start it it would actually need to start python with the path to jdtls as an argument
(i.e language-server = { command = "python", args = ["path/to/jdtls"]} ), which is problematic since python wont look in $PATH for the argument. (and also it requires python to be installed)
Alternatively it can be started with java but this is also problematic as the java file has version number in its name.
(The vscode extension avoids this problem since it installs a specific version of the language server and java)
¯\_(ツ)_/¯
Beta Was this translation helpful? Give feedback.
All reactions