Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Snap Julia binary setup error in VsCode Ubuntu / Julia Ubuntu Store Version

Background:

You installed Julia through the Ubuntu Store / Snap Store and you are using VS Code to do your coding. As you download the necessary extensions, you get a pop up that says:

Could not start the Julia language server. Make sure the configuration setting julia.executablePath points to the Julia binary.

After some digging, I found a couple of solutions regarding this problem!

like image 742
Koops Avatar asked Oct 19 '25 07:10

Koops


1 Answers

Rather than a question, this is the answer to an issue/error raised by VS Code when dealing with Julia lang downloaded from the Ubuntu Store/Snap. The error message is the following:

Could not start the Julia language server. Make sure the configuration setting julia.executablePath points to the Julia binary.

To solve this issue you have to point to the Julia Binary in other words, to the Julia executable application. The possible solutions to your problem may be:

Start by pasting the following path to your Julia Executable Path. Paste it and restart VS Code.

/snap/julia/current/bin/julia

Inside your settings.json you should have the following. ( Applicable only if you downloaded Julia through the Ubuntu Store )

"julia.symbolCacheDownload": true,
"julia.enableTelemetry": false,
"julia.executablePath": "/snap/julia/current/bin/julia"

If that doesn't work try the following:

  1. Search Julia in the Extensions Marketplace

  2. Download Julia and Julia Insider

  3. You will get an error saying you can't have both installed (active)

  4. Uninstall Julia Insider

  5. Restart VS Code

  6. Test by creating a file with the file extention ( .jl ) j, as in "(J)ulia" l, as in "(L)anguage"

  7. Execute with CTRL+F5

Happy Julia Coding!

like image 120
Koops Avatar answered Oct 21 '25 23:10

Koops



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!