Oracle Java 11 Installation on Ubuntu 18.04 LTS (Bionic)
Java is a widely-used programming language for developing system software and web applications. To set up a Java development system, you would need to install the Java Development Kit (JDK) and Java Runtime Environment (JRE). This tutorial will walk you through Oracle Java 11 Installation on Ubuntu 18.04 LTS (Bionic)
Table of Contents
How To Install Oracle Java 11 on Ubuntu?
As mentioned above in this tutorial we will walk you through step by step process to install Oracle Java 11 on your Ubuntu systems. To start follow the steps mentioned below to install Oracle Java 11.
Step 1: Update The Current Packages installed on your system
Run login shell as the sudo user and update the current packages installed before starting the installation.
sudo apt update sudo apt upgrade
Step 2: Now Start Installing Java 11 on Ubuntu
To Install, first, you need to add the following PPA on your Ubuntu system. This PPA includes the Java installation script in the package oracle-java11-installer.
sudo add-apt-repository ppa:linuxuprising/java
Then, using the script included in this package, install Java 11. This script acquires the Java archive from the official site and installs it on your system.
sudo apt update sudo apt install oracle-java11-installer
Install the following kit to make Java 11 the Ubuntu 18 system’s default Java version.
sudo apt install oracle-java11-set-default
Step 3: Verify Installed Java Version
Use the following command to verify the Java version installed on your system.
java -version java version "11.0.2" 2019-01-15 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
You have completed the installation of Java 11 on Ubuntu 18.04 LTS.
How to use Registry Editor to navigate to any Registry key with a single click
You might get tired of manually navigating to various registry keys if you find yourself fiddling with Registry Editor and…