Julia with vscode stopped working (executablePath setting issue)

Hi all,

I have been using julia with VScode. It was working fine previously, but about a week ago I could no longer get julia to run with VScode.

The first error message I got was

“Could not start the Julia language server. Make sure the julia.executablePath setting is valid.”

When I searched for the julia executable path in settings, it was empty.

I searched for julia in the terminal using where julia, what I got was the following:

/usr/local/bin/julia
/usr/local/julia/bin/julia

I am not sure where the julia.exe file is located, so I tried entering the following combinations into the executable path, and then restarting vs code, but the problem persists.

“julia.executablePath”: “/usr/local/julia/bin/julia.exe”
“julia.executablePath”: “/usr/local/julia/bin/julia”
“julia.executablePath”: “/usr/local/bin/julia”
“julia.executablePath”: “/usr/local/bin/julia.exe”

When I tried to ran some julia code I additionally get the following message:
Cannot read properties of undefined (reading ‘file’)

It would be great if someone can help me with this question. Thanks. I am accessing VSCode on a server. I have also tried uninstalling and resintalling the Julia extension and it didn’t help.

Are your running Windows locally and use Linux on the server?

How was Julia installed on the server in the first place? Did you (or the admin) use juliaup? Juliaup will never install julia in /usr/local/… but in the home directory of the user.

Do you access the server using ssh?