How to install Oracle Java 8 JRE on Manjaro 15.09

September 15, 2015 | By | Reply More

This tutorial will show you how to install Oracle Java 8 JRE on Manjaro 15.09. Java Runtime Environment (JRE) is an essential software/package you should have on Manjaro. Many applications or web app rely on Java. Installing Java JRE on Manjaro is not too hard. But since here I will show you how to install Java using manual way, you will need to get your hand a bit dirt.

How to install Oracle Java 8 JRE on Manjaro 15.09

A. Download Oracle Java 8

Navigate to http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html and select the package to download. Select the .tar.gz version. If you are running 32 bit version, choose this file jre-8u60-linux-i586.tar.gz, for 64 system use this one: jre-8u60-linux-x64.tar.gz.

B. Extract the file

We will extract the file we just downloaded on the step above. Use the following command:

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

It will produce a new directory called jre1.8.0_60

C. Move or copy the directory to /opt

su
mv jre1.8.0_60 /opt/java

D. Create symbolic link

ln -s /opt/java/bin/java /usr/bin/java

E. Check if Java is installed

java -version

Output:

[root@dhani-manjaro bin]# java -version
java version “1.8.0_60”
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

Done.

Tags: , , ,

Category: Manjaro

Leave a Reply