How to install JAVA 8 on Deepin OS 15.5

Java 8 stable version was released on March 18, 2014 and publicly available for download. This article is going to help you to install Java 8 on Deepin OS. We are going to do it using Webupd8 PPA which works for Debian based systems.


  • sudo / root user

Step 1 – Add Java 8 PPA

First, you need to install dir manager which is required for adding any PPA

apt-get install dirmngr

Now, create a new PPA file to add webupd8team Java PPA repository in your system

vim /etc/apt/sources.list.d/java-8-deepin.list

and add the below contents in it

deb trusty main
deb-src trusty main

Now import GPG Key on your system for verifying packages before installing.

apt-key adv –keyserver –recv-keys EEA14886

Step 2 – Install Java 8 on Deepin OS

apt-get update; apt-get install oracle-java8-installer

Step 3 – Verify Installed Java Version

java -version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

Such output confirms that JAVA 8 has been successfully installed on your system.


Thanks for reading this article.


By Tonmoy Ajize

About Author

Tonmoy Ajize

Hey There! I am Tonmoy Ajize from Dhaka, Bangladesh. I am a Linux System Administrator and Customer Success Specialist.