Answers for "how to install java globally for linux"

16

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
Posted by: Guest on April-06-2021

Code answers related to "how to install java globally for linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language