sudo apt update
java -version
sudo apt install default-jre
java -version

Installing Java 8

sudo apt install openjdk-8-jre

Oracle Java

sudo apt install software-properties-common
sudo add-apt-repository ppa:linuxuprising/java
sudo apt update

 

Sharing is Caring
Scroll to Top