How to install Oracle Java Runtime (JRE) 8 on Manjaro 16.06

This Manjaro tutorial is going to show you how to install Oracle Java Runtime Environment (JRE) 8 on Manjaro 16.06. Java JRE is an essential package for Linux users. Many software built on top of Java and we need to install Java in order to run the software on Linux.

Steps to install Oracle Java JRE 8 on Manjaro 16.06

Step 1. Download Oracle Java JRE package for Linux

Follow this link to download the Oracle Java package for Linux. Select the correct architecture. On Manjaro, choose the .tar.gz pacakge from the list.

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

You should have a new file called jre-8u92-linux-x64.tar.gz. The file name could be different depends on the version you download.

Step 2. Extract the file

To extract, select the file and right click. Select Extract here to immediately extract to the current directory. You will have a new folder called jre1.8.0_92. Or, you can also use the Terminal command

tar -xzvf jre-8u92-linux-x64.tar.gz.

Step 3. Move the folder to /opt

sudo mv jre1.8.0_92 /opt

Step 4. Create symlink for java binary

Execute this command to create symlink to the java binary

sudo ln -s /opt/jre1.8.0_92/ /usr/bin/java

Now check the java version

java -version

The output should looks like this

[manjaro@manjaro bin]$ java -version
java version “1.8.0_92”
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)

Thank you

Admin

Leave a Reply

Your email address will not be published. Required fields are marked *