Download and install Java on Linux server
Go to Oracle website and download newest JRE installation setup which suite your Linux distribution.
Extract JRE package:
tar zxvf jre-XXX-linux-YYY.tar.gz
Move unpacked JRE directory to /usr/lib/jvm/:
mv jreXXX /usr/lib/jvm/
You can delete .tar.gz file if you want to save disk space. It's not needed anymore.
Configure JAVA_HOME environment variable
To properly install MSH Disclaimer & Signatures application JAVA_HOME environment variable needs to be correctly set.
If you want to set JAVA_HOME only to current session you could invoke:
But it will not persist if you reboot system.
To make available JAVA_HOME after reboot you need to set variable in .bash_profile file, it's located in each user directory. Create it if not exists. For system-wide and all users modify /etc/environment file, thanks to it you'll not need to modify each user.
Add this definition to /etc/environment or .bash_profile file:
To check if JAVA_HOME variable is set, run command:
You should output earlier defined path to JRE.
Installation disclaimers and signatures
Now when Java is installed and set-up, you can run application install script.
Find out more about MSH Disclaimer & Signatures...