Java is a popular programming language for developing system software and web applications. For the Java development environment to be set up, you must first install the Java Development Kit (JDK) and Java Runtime Environment (JRE). JDK compiled a java class file from the source java file. The intermediate class file is run utilizing JRE.
Oracle Java 11 Installation
In this article, we will walk you through step by step process as to how you can install Oracle Java 11 on your Ubuntu 16.04 LTS (Xenial) System. Follow the steps below to successfully install Oracle Java 11 on your system.
Step 1: Update the current Packages on the System
Run login shell as the sudo user and update the current packages installed before starting the installation.
Step 2: Now Install Java 11 on Ubuntu
Before starting the installation process you need to add the following PPA Linuxuprising/java to your Ubuntu system. This PPA includes the Java installation script in the package oracle-java11-installer.
Then, using the script included with these packages, install Java 11. This script gets the Java archive from the official site and installs it on your system.
Install the following package to make Java 11 the Ubuntu 18 system’s default Java version.
Step 3: Verify the installed Java Version on your system
Use the following command to see what Java version is installed on your system.
Congrats! You now have Java 11 successfully installed on your Ubuntu 16.04 LTS (Xenial) System. Have fun coding!
Saad Shafqat
Related posts
New Articles
Quick Guide to Downgrade One UI 7 Beta to Stable One UI 6 on Samsung
As Samsung enthusiasts eagerly embrace the latest features and enhancements in One UI 7 Beta, some users may find themselves…