How to Install Oracle Java 14 on Ubuntu 20.04

Java is a programing language developed at Sun Microsystems and later acquired by Oracle Corporation.
The latest version of Oracle Java is 14 and it includes new features for developer productivity, new APIs, Recorder data, and extended availability of the low-latency Z Garbage collector to macOS and windows.
This tutorial will be helpful for beginners to install Oracle Java 14 on Ubuntu 20.04, LinuMint, Zorion OS, etc.. for testing and development purpose free to use, and for production usage users need to pay a fee
For Oracle Java 14 changelog refer?? release notes
How to Install Oracle Java 14 on Ubuntu 20.04, LinuxMint via PPA
Step 1: Add the PPA
As of now, third-party PPA is available for installing Oracle Java 14
sudo add-apt-repository ppa:linuxuprising/java
Step 2: Update the repository
sudo apt update
Step 3: Install Oracle Java 14
sudo apt install oracle-java14-installer
Once installation completed, run the below command to set the Oracle Java 14 as default
sudo apt install oracle-java14-set-default