In this short post, you will find the easy steps to install JDK 11 on Ubuntu using PPAs.
The steps in this section will install the Java 11 JDK on Ubuntu.
Install software-properties-common
to easily add new repositories:
sudo apt-get install software-properties-common
Add the Java PPA:
sudo add-apt-repository ppa:linuxuprising/java
Update the source list:
sudo apt-get update
sudo apt install oracle-java11-set-default
Install the Java JDK 11:
sudo apt-get install oracle-java11-installer-local