Shell/Bash: installing java on linux Example


Shell/Bash Example: This is the "installing java on linux" Example. compiled from many sources on the internet by

installing java on linux

# install default JDK
sudo apt install default-jdk
# install default JRE
sudo apt install default-jre
# install specific JDK version
sudo apt install openjdk-17-jdk
# install specific JRE version
sudo apt install openjdk-17-jre

* Summary: This "installing java on linux" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!