Home > Support > HOWTO List > Applications > Howto: Install or Update Java

Java howtos

Howto: Install or Update Java

We use a standard script (http://proj.ri.mu/installjava.sh) to install and update the JDK.

You can use this script to install or update the Sun JDK on your Linux server.  It installs a recent version of the java development kit at /usr/java/$version. And updates the symlink /usr/java/jdk along with some environement variables in your system profile like JAVA_HOME.

wget --quiet http://proj.ri.mu/installjava.sh
bash installjava.sh

Run the script with the '--help' option to get a look at the parameters you can pass to the script.  e.g. to install JDK 10 use --jre 10.