Install Java You download the .tar.gz from the Oracle site to the machine and then unpack it in the correct directory. For example   We install all our java versions into a subdirectory of /opt/java, matching the version number, and create a symlink for which version is the actual active one. So for example:   Create java function Next, we create an initialization file /etc/profile.d/java.sh which creates a function.. Read More