How To Install OpenJDK 11 On Ubuntu 18.04

How To Install OpenJDK 11 On Ubuntu 18.04

Insight: How To Install OpenJDK 11 On Ubuntu 18.04

OpenJDK 11 is a feature release of the Java SE platform. Interestingly, Java SE 11 is the first Long Term Support feature release for the Java SE Platform. It will get support for eight years from the company.

How To Install OpenJDK 11 On Ubuntu 18.04

In this tutorial, We will learn the method to install OpenJDK 11 in Ubuntu 18.04

How To Install OpenJDK 11 On Ubuntu 18.04

Run the following command to install OpenJDK 11.

sudo wget https://download.java.net/java/ga/jdk11/openjdk-11_linux-x64_bin.tar.gz -O /tmp/openjdk-11+28_linux-x64_bin.tar.gz
 % sudo tar xfvz /tmp/openjdk-11_linux-x64_bin.tar.gz --directory /usr/lib/jvm
% rm -f /tmp/openjdk-11_linux-x64_bin.tar.gz

Alternative Method: Search OpenJDK Packages in your Ubuntu native apt repositories.

apt-cache search openjdk

You can see openjdk-11-*  available in the package manager.

Now, Install OpenJDK using following command.

sudo apt-get install openjdk-11-jre openjdk-11-jdk

Let us, If there is any error in this article.

READ More Relevant Stuff:  Ubuntu 20.10 Released, Download Now

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

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