how to install jdk 11 in ubunut code example
Example 1: apt install java 11
sudo apt-get update
sudo apt-get install oracle-java11-installer-local
Example 2: how to install java 11 on ubuntu
sudo add-apt-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java11-installer-local
sudo add-apt-repository ppa:linuxuprising/java