Home About Blog Download Help Center Forum Get Involved
Logo
Home About Blog Download Help Center Forum Get Involved

Help Center

Get answers to common questions

No results found.

Java

This article covers obtaining open source Java as well as Oracle Java.

Installation

If you are looking for OpenJDK or OpenJRE, install openjdk-8 from the repository. The instructions below are for Oracle Java.

You can set up Java by following the instructions below:

JRE

Grab the latest Java Runtime Environment (JRE) as .tar.gz from the Oracle Download Page.

Extract JRE and move it to /opt:

cd ~/Downloads
tar xf jre-8u*-linux-x64.tar.gz
sudo mkdir -p /opt
sudo rm -rf /opt/jre1.8.0_*
sudo mv jre1.8.0_* /opt/
sudo ln -svf /opt/jre1.8.0_*/bin/java /usr/bin/java

JDK

Grab the latest Java Development Kit (JDK) as .tar.gz from the Oracle Download Page.

Extract JDK and move it to /opt:

cd ~/Downloads
tar xf jdk-8u*-linux-x64.tar.gz
sudo mkdir -p /opt
sudo rm -rf /opt/jdk1.8.0_*
sudo mv jdk1.8.0_* /opt/
sudo ln -svf /opt/jdk1.8.0_*/bin/java /usr/bin/java
Table of Contents