Answers for "how to install java 16 linux"

-1

install java 16 on linux

//if you don't have sudo add-apt-repository
sudo apt-get install software-properties-common

//install the java installar
sudo add-apt-repository ppa:linuxuprising/java

sudo apt update


//install the newest keyservers
su -

echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main" | tee /etc/apt/sources.list.d/linuxuprising-java.list

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 73C3DB2A

apt-get update

exit


//install latest package with recommendations
sudo apt install oracle-java16-installer --install-recommends
Posted by: Guest on September-18-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language