Most users don’t need to set either variable if they have a standard setup. So the first thing I would try is just not setting this manually, and use the standard setup.
How did you install Julia on the server?
I would just recommend getting the latest released version (1.3.x), and installing it in your home directory.