Answers for "ubuntu install java 8 jdk"


debian install java

# If you want java 11:
sudo apt install -y default-jre

# If you want other java versions:
sudo apt update
sudo apt install -y apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common
wget -qO - | sudo apt-key add -
sudo add-apt-repository --yes
sudo apt update
sudo apt install -y adoptopenjdk-8-hotspot # Java 8
sudo apt install -y adoptopenjdk-16-hotspot # Java 16

# Switch java version
sudo update-alternatives --config java
Posted by: Guest on September-14-2020

instalar java ubuntu 18.04

sudo apt install default-jre
Posted by: Guest on August-12-2020

instalar java ubuntu 18.04

OutputCommand 'java' not found, but can be installed with:

apt install default-jre            
apt install openjdk-11-jre-headless
apt install openjdk-8-jre-headless
Posted by: Guest on August-12-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language