No, that is not sufficient to set in startup.jl. You must set the environment variable before the Julia process starts.