I have just installed Julia 1.4.1 on Windows. I have a trusty startup.jl file in C:\Users\myuser\.julia\config
I can directly execute the file, but on [re]starting Julia (CTRL+j,k) startup.jl is not executed. The doc does not suggest a new (ref the old .juliarc.jl) change in startup file convention. What did I miss…
Thank you for taking the time. That’s actually where I have the startup file ( \. was typeset as . by this web site, see my corrected post above). Any suggestions?
Juno by default keeps a few Julia processes running to mitigate the long startup time we currently have. You can turn that feature off with the Boot Mode option (in the julia-client settings):
…and I wouldn’t know how to send you a reproduceable bug report for this case. I have replaced my file with a hello world - still no execution (so it’s not due to a bug in my startup file).
Are Julia and I disagreeing on what my username is?
As a more immediate solution you could also put your code into juno_startup.jl (can be opened with Julia: Open Juno Startup File) and see if that works.
Just wanted to add that I am experiencing this exact same behavior using Julia 1.4.2 on Linux.
Following the instructions here: Getting Started · The Julia Language . According to the Getting Started instructions, I should see a message printed when I start Julia, but I do not.
I had the same problem and it turns out that julia is looking for the config file in DEPOT_PATH, so if you’ve set this variable to anything else than C:\Users\THATSME\.julia it won’t find the startup file there. I agree that the documentation should be changed to reflect that.
Aha, it sounds very much to me like you solved the problem.
Now as you see, 1 year passed since I had the problem. When I moved on to newer versions of Julia, the problem disappeared. Probably the new installer corrected the configuration.