I'm getting this error in VS Code:
Could not start the julia language server. Make sure the configuration setting julia.executablePath points to the julia binary.
In user settings I put
"julia.executablePath": "c:\\Program Files\\Julia\\Julia-0.5.0\\bin\\julia.exe"
which is a correct executable path.
Julia works without a problem in console and VS Code worked fine with older extension 0.4.2
. I've tried reinstalling both the extension and VS Code, but it didn't help.
I've been trying to fix the issue for some time, but I am running out of ideas. Can someone point out what am I doing wrong?
Could not start the julia language server. Make sure the configuration setting julia.executablePath points to the julia binary. "julia.executablePath": "c:\Program Files\Julia\Julia-0.5.0\bin\julia.exe" which is a correct executable path. Julia works without a problem in console and VS Code worked fine with older extension 0.4.2.
This can happen if the VS Code extension doesn't support the current version of Julia. Have a look if the 'LanguageServer' package is actually installed/somehow uninstalled, this happened to me. After manually installing it, it was all fine and dandy again. Indexing all the packages still takes ages, though.
Thank you. As per instruktions. Don’t use JuliaPro, just downloa the normal Julia installer from the julialang.org homepage. I don’t believe there are instructions anywhere on the VS Code side of things to use JuliaPro. We automatically detect “normal” Julia installations.
Try to check the path C:\Users\User\AppData\Local\Programs\Julia-1.7.3\lib\julia or any other path you have installed Julia and see if a sys.dll.backup exists there, together with a sys.dll file. Rename the sys.dll to sys.dll.old and rename the sys.dll.backup to sys.dll. Then restart julia or VS Code.
I had the same problem, just run Julia REPL and switch to pkg mode with ]
and add LanguageServer package with add LanguageServer
and restart vs code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With