Use arrow keys to navigate through slides. Press Space or Enter to pause autoplay.
How to Install Java 8 on Debian 8/9/10, Ubuntu 16/18/20, and CentOS 6/7/8
• 123
Navigation
Popular articles
Installation on Debian 8/9/10
To install Java 8 on Debian 8, 9, or 10, execute the commands:
Debian 9
apt-get update
apt-get install default-jdkDebian 10
apt-get install software-properties-common
apt-add-repository 'deb http://security.debian.org/debian-security stretch/updates main'
apt-get update
apt-get install openjdk-8-jdkFor installation on Debian 8, use the universal method.
Installation on Ubuntu 16.04/18.04/20.04
To install Java 8 on Ubuntu 16.04, 18.04, or 20.04, execute the commands:
Ubuntu 16.04
apt-get update
apt-get install default-jdkUbuntu 18.04, 20.04
apt-get update
apt-get install openjdk-8-jdkInstallation on CentOS 6/7/8
To install Java 8 on CentOS 6, 7, or 8, execute the commands:
CentOS 6, 7, 8
yum update
yum install java-1.8.0-openjdk





