Use arrow keys to navigate through slides. Press Space or Enter to pause autoplay.
How to install Java 11 on Debian 8/9/10, Ubuntu 16/18/20, and CentOS 6/7/8
• 131
Navigation
Popular articles
Installation on Debian 8/9/10
To install Java 11 on Debian 8, 9, or 10, execute the commands:
Debian 10
apt-get update
apt-get install default-jdkDebian 9
apt-get install sudo
echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/stretch-backports.list
apt-get update
apt-get install openjdk-11-jdkFor installation on Debian 8, use the universal method.
Installation on Ubuntu 16.04/18.04/20.04
To install Java 11 on Ubuntu 16.04, 18.04, or 20.04, execute the commands:
Ubuntu 18.04, 20.04
apt-get update
apt-get install default-jdkUbuntu 16.04
apt-get install software-properties-common
add-apt-repository ppa:linuxuprising/java
apt-get update
apt-get install oracle-java11-installer-localInstallation on CentOS 6/7/8
To install Java 11 on CentOS 6, 7, or 8, execute the commands:
CentOS 6, 7, 8
yum update
yum install java-11-openjdk-devel





