question

Venkat-3537 avatar image
0 Votes"
Venkat-3537 asked StevenCotton-7700 commented

Environment Variables,System variables are not accessible

I have set a system variable "julia" with path to julia directory. When I call the same variable on command line, I get the below message "C:\Users\venka>julia 'julia' is not recognized as an internal or external command, operable program or batch file." Created a new user and repeated the same steps, no result. Each time I go to =system variables, I see variable and the path in the "System variables" panel.

windows-10-setup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered StevenCotton-7700 commented

@Venkat-3537
Hi,

You’ll either need to add the full path (location) of julia.exe to the PATH, as is described here, or use the full path in the julia-client settings in Atom.


Open Run (Windows Key + R), type in rundll32 sysdm.cpl,EditEnvironmentVariables and hit enter.
Under either the "User Variables" or "System Variables" section, find the row with "Path", and click edit.
The "Edit environment variable" UI will appear. Here, click "New", and paste in the directory noted from the installation stage. This should look something like C:\Users\JohnDoe\AppData\Local\Programs\Julia 1.5.4\bin.
Click OK. You can now run Julia from the command line, by typing julia!

Hope above information can help you.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Worked, thanks

0 Votes 0 ·

Unfortunately the solution doesn't work. This is critical failure. When will it be fixed ? or can you provide a better a better solution?

0 Votes 0 ·