---

How to install Java (JDK and JRE) on Ubuntu 20.04 LTS

Java is the most widely used programming language. It can be used to create server and desktop applications and Java runs on almost all operating systems like Mac OS, Windows, and Linux. This article will show the installation of Java 8 and Java 11 JDK and JRE on Ubuntu 20.04 using the terminal and how to switch between these two versions.