Answers for "how to install java in ubuntu 20.04"

5

how to install java 8 on ubuntu 20.04

sudo apt update
sudo apt install openjdk-11-jdk

sudo apt update
sudo apt install openjdk-8-jdk
Posted by: Guest on December-21-2020
0

install java in ubuntu 20.04

# Java in ubuntu
# first check if java is already installed or not using 
java -version

# install openjdk (Java Development Kit)
sudo apt install default-jdk
# it will ask for confirmation...around 480 MB will be downloaded
# this will install both the latest jdk and jre of openjdk distribution

# check for java
java -version

#check for javac
javac -version

# If you only want to install jre and not jdk, just run
sudo apt install default-jre
Posted by: Guest on January-05-2021
0

how to install java 11 jdk on ubuntu 20.04

sudo apt-get update && sudo apt-get upgrade
Posted by: Guest on November-26-2020
0

install java on ubuntu 20.04

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EA8CACC073C3DB2A
Posted by: Guest on May-08-2021

Code answers related to "how to install java in ubuntu 20.04"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language