how to install new java runtime ubuntu code example
Example 1: ubuntu install jre
sudo apt install openjdk-8-jre
Example 2: install java ubuntu
sudo apt install default-jdk
sudo apt install openjdk-8-jre
sudo apt install default-jdk