+3 votes
800 views
How to install JAVA JDK on Ubuntu 21.04

in Linux / Unix by (552k points)
reopened | 800 views

1 Answer

+4 votes
Best answer

How to install Kava JDK on Ubuntu 21.04

Java JDK (Java Deployment Kit), is a set of utilities with which the functions already typical of Java are notably increased, this is ideal for creating and developing applications, web sites and everything that is based on Java. The JRE plugin acts with the execution of the Java software for all the processes involving the use of the network..

 

Java features
Java is made up of some elements like:

 

  • Java Runtime Environment (JRE) which is added by default when Java is installed on the system
  • JRE is integrated by Java Virtual Machine (JVM), various classes of the core of the Java platform and libraries of the Java platform

 

 

 

Java JDK can be installed in Ubuntu 21.04 in a simple way and in TechnoWikis we will explain how to achieve it.

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

 

How to install Kava JDK on Ubuntu 21.04

 

Step 1

We access the terminal and with the following command we are going to search for all the Java packages that are currently available:
 sudo apt search openjdk 
image

 

 

Step 2

We can see the entire list with its respective description, in this case the most recent version is JDK 15, so to install this version we execute the following:
 sudo apt install openjdk-15-jdk 
Note
In case you want to install previous versions, execute one of the following lines:

 

  • sudo apt install openjdk-8-jdk
  • sudo apt install openjdk-11-jdk
  • sudo apt install openjdk-13-jdk
  • sudo apt install openjdk-14-jdk

 

 

image

 

 


Step 3

We enter the letter S to confirm the download and installation of Java JDK in Ubuntu 1.04:

 

image

 

 

Step 4

Finally we check the version with the command:
 java –version 
image

 

With this simple process we have installed Java JDK on Ubuntu 21.04..

 


by (3.5m points)
Your solution worked perfectly.  Instead of version 15 I found and installed version 17. That was the only difference from the article.

Related questions

+3 votes
1 answer
asked May 8, 2021 in Linux / Unix by backtothefuture (552k points) | 351 views
+4 votes
1 answer
asked Mar 19, 2020 in Linux / Unix by backtothefuture (552k points) | 964 views
+5 votes
1 answer
asked Oct 15, 2019 in Linux / Unix by backtothefuture (552k points) | 351 views
+4 votes
1 answer
asked Nov 13, 2020 in Linux / Unix by backtothefuture (552k points) | 353 views
+4 votes
1 answer
asked Nov 12, 2020 in Linux / Unix by backtothefuture (552k points) | 390 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users