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
and add the below contents in it
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
Now import GPG Key on your system for verifying packages before installing.
apt-key adv –keyserver keyserver.ubuntu.com –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
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.