Skip to content

Instantly share code, notes, and snippets.

View dryektaubuntu's full-sized avatar

dryektaubuntu

View GitHub Profile
-install java open-jdk 8 and 11 (https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/):
1.install open-jdk 8:
sudo apt update
sudo apt install openjdk-8-jdk openjdk-8-doc
2.install open-jdk 11 and check if java home variable is defined before:
sudo apt-get install openjdk-11-jdk openjdk-11-doc
sudo echo $JAVA_HOME
3.install open-jdk 17 and check if java home variable is defined before:
sudo apt-get install openjdk-17-jdk openjdk-17-doc
sudo echo $JAVA_HOME