![Zoom download for m1](https://cdn2.cdnme.se/5447227/9-3/16_64e61dfc9606ee7f98e9879e.png)
![openjdk 8 install ubuntu openjdk 8 install ubuntu](https://i.ytimg.com/vi/YA7noDmX-JQ/hqdefault.jpg)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)Ġ1- If your application requires Java 8, so, you can install it by excuting the below command: $ sudo apt update OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04) Installing OpenJDK 11Ġ1- Run the following command as root or user with sudo privileges to install Java 11: $ sudo apt updateĠ2- Once the installation is complete, you can verify it by checking the Java version: $ java -version In this tutorial, we will explain how to install one or more Java ( OpenJDK) versions on Ubuntu 18.04 and how to set the default Java via update-alternatives command. Java is one of the most popular programming languages used to build different types of applications and systems.
![Zoom download for m1](https://cdn2.cdnme.se/5447227/9-3/16_64e61dfc9606ee7f98e9879e.png)