Bala's Blog

Julia on Windows

August 11 2018
139 words, ~1 min. read
julia,  windows,  chocolatey 

Recently, I was facing issues in setting up Julia on my Windows 10 laptop. Though I was able to install using chocolatey, I found that the environment variables were not set up properly.

I took some time to figure out the installation directory, which was C:\Users\<user>\AppData\Local\Julia-<version>. So, I tried to setup JULIA_HOME environment variable and also updated the PATH environment variable to add %JULIA_HOME%\bin. With these changes, though I was able to trigger julia.exe on my terminal, I was still facing issues with respect to some DLLs.

I came across this issue in Julia issue repository, where one of the responses mentioned that the environment variable JULIA_HOME is significant and should not be set in most circumstances. So, I tried the following,

  1. Set environment variable JULIA to C:\Users\<user>\AppData\Local\Julia-<version>
  2. Updated environment variable PATH to include %JULIA%\bin

And voila, it worked.