How to Install Java 12 on Ubuntu 18.04 LTS?
Right click on the desktop, and then click on 'open terminal'. After that, follow the steps below:-
Step 1: Add PPA
sudo add-apt-repository ppa:linuxuprising/java
Step 2: Updates the package lists
sudo apt update
Step 3: Install Java12
sudo apt install oracle-java12-installer
Step 4: To set oracle JDK 12 as Default
sudo apt install oracle-java12-set-default
It's done
Thanks for watching, please like and subscribe
==============================================
https://www.facebook.com/HowtoTutorialsByAmit/