Skip to content

JAVA Installation

Install minimal tool set for Java

Based on openjdk (open-source solution - less support)

You may need need to change major version number, Java most used current versions are 8 or 11.

sudo apt install -y openjdk-8-jdk


sudo apt install -y openjdk-11-jdk

Based on Oracle version (deprecated since April 16, 2019):

sudo add-apt-repository ppa:webupd8team/java &&
sudo apt update &&
sudo apt install -y oracle-java8-installer &&
sudo apt install -y oracle-java8-set-default

Extra Java tools

You might need maven and gradle to compile some applications

sudo apt install -y maven gradle

External references