Java

How to install JDK on Ubuntu Linux

How to install JDK on Ubuntu Linux

In this tutorial, we will setup JDK on Ubuntu Linux machine.

JDK Download

 

JDK Download Linux

 

Download the tar file and save the file to the computer.

Untar

Untar the JDK contents. Sample command below

$ tar -xvf jdk-14-linux.tar.gz

 

jdk untar contents

Set JAVA_HOME

 

Verification

 

java version linux