isntall java in ubuntu code example
Example 1: install java ubuntu
sudo apt install default-jdk
Example 2: where is java installed in ubuntu
readlink -f $(which java)
sudo apt install default-jdk
readlink -f $(which java)