Answers for "install openjdk 8 linux"

16

install openjdk 8 sdk on ubuntu

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

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 - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
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
1

install openjdk 8 debian 10

wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/

sudo apt-get update && sudo apt-get install adoptopenjdk-8-hotspot
Posted by: Guest on May-28-2021
1

ubuntu install openjdk 8 source

sudo apt-get install openjdk-8-source
Posted by: Guest on February-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language