Answers for "install java jre ubuntu"

16

java 8 install ubuntu

sudo apt-get install openjdk-8-jdk
Posted by: Guest on March-28-2020
8

how to set java_home in ubuntu

#Update repo
sudo apt update

# Install java 8 from ubuntu repo
sudo apt install openjdk-8-jdk -y

#Set JAVA_HOME Path
ls /usr/lib/jvm/java-8-openjdk-amd64/
 export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
 echo $JAVA_HOME
 
 #Add JAVA bin directory to the PATH variable
 export PATH=$PATH:$JAVA_HOME/bin
 echo $PATH
 java -version
Posted by: Guest on September-07-2020
1

ubuntu install jre

sudo apt install openjdk-8-jre
Posted by: Guest on August-17-2020
14

install java ubuntu

sudo apt install default-jdk
Posted by: Guest on September-01-2020
0

install java ubuntu

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

install java ubuntu

#Install java in Linux
sudo apt install openjdk-11-jre-headless -y  # version 11.0.10+9-0ubuntu1~20.04, or
sudo apt install default-jre -y              # version 2:1.11-72
sudo apt install openjdk-8-jre-headless -y   # version 8u282-b08-0ubuntu1~20.04
sudo apt install openjdk-13-jre-headless -y  # version 13.0.4+8-1~20.04
sudo apt install openjdk-14-jre-headless -y  # version 14.0.2+12-1~20.04
Posted by: Guest on April-25-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language