Ubuntu

How To Install Oracle Java 11 In Ubuntu, Linux Mint Or Debian From PPA

How To Install Oracle Java 11 In Ubuntu, Linux Mint Or Debian From PPA

Insight: How To Install Oracle Java 11 In Ubuntu, Linux Mint Or Debian From PPA

Java 11 is the first Long term support release version of Java. It is feature release for the Java SE Platform. It will get support for eight years from the company.

In this tutorial, We will go through the method to install Oracle Java 11 in Ubuntu, Linux Mint Or Debian From PPA. Meanwhile, Most important thing is that from Java 11, Oracle is using a new commercial license which only allows to use Java for free in development and testing purpose.

How To Install Oracle Java 11 In Ubuntu, Linux Mint Or Debian From PPA

You need to add the following Java PPA repository to your system. Run the following command to add PPA. This is not an official PPA. This repository is maintained by linuxuprising.

sudo add-apt-repository ppa:linuxuprising/java

Now, Update your system.

 sudo apt update

Finally, Install the Java 11 in your system using the following command:

sudo apt install oracle-java11-installer

For Debian based system:

Run the following command in your terminal:

su -
echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic main" | tee /etc/apt/sources.list.d/linuxuprising-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 73C3DB2A
apt-get update
apt-get install oracle-java11-installer
exit

 

Run the following command to check the Java version:

java -version

You will see the output like this if you have JAVA 11 as a default.

java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)



READ THIS ALSO  GIMP 2.10.2 Released With Bug Fixes : How To Install Gimp

Subscribe To Our Newsletter.

Join our mailing list to receive the latest linux tutorials, tips & tricks, freebies,news and updates from our team.

You have Successfully Subscribed!