Environment Variables,System variables are not accessible

Venkat 21 Reputation points
2021-03-12T17:49:54.723+00:00

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 for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Jenny Feng 14,241 Reputation points
    2021-03-15T02:52:07.153+00:00

    @Venkat
    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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.