how to install java jdk in ubuntu manually code example
Example 1: install java ubuntu
sudo apt install default-jdk
Example 2: how to install java 11 on ubuntu
sudo add-apt-repository ppa:linuxuprising/java
sudo apt install default-jdk
sudo add-apt-repository ppa:linuxuprising/java