/home/julia/ is the name of a directory of a new user named
julia and it looks like you have not created this new user yet, causing the permissions errors. The JuliaPro-0.6.3.1.sh script takes one optional argument, the absolute path to the directory into which you want to install JuliaPro. So install JuliaPro the normal way using
sudo without the optional argument and let the JuliaPro-0.6.3.1.sh installer script create whatever default directories that it needs for you.
In Ubuntu 18.04 run the following commands:
sudo apt install gcc python2.7-dev curl libzmq5 hdf5-tools python libgconf-2-4 default-jdk
sudo chmod 777 JuliaPro-0.6.3.1.sh
If you want to complicate matters by creating a custom directory to install JuliaPro in, create it manually using
mkdir if the new directory is located in a directory not owned by root or
sudo mkdir if it is located in a directory owned by root. Otherwise simply allow the installer script to create whatever default directories that it needs.
Execution of the installer script will show the directory into which installation is occurring. Upon completion of the installer, the contents of the JuliaPro installation directory can be viewed. To launch a JuliaPro command prompt from the terminal, one needs
to launch the julia binary included within the JuliaPro distribution.
The julia binary can be executed from the terminal with the following command:
<juliapro> is the JuliaPro installation path.
Reference: JuliaPro (v0.6.3.1) Installation Manual and Quickstart Guide