How to Install LAMP(Apache, MySQL, PHP) Stack on Deepin

How to install Oracle JDK 8 on Deepin


This guide will introduce how to install Oracle JDK 8 on your Deepin Linux.


1. update the System.

Make sure your system is up-to-date.

$ sudo apt-get update && sudo apt-get upgrade



2. Install Software Common Properties Package.

By default, deepin does not include Software Common Properties package. So you have to install it first. This allows to easily manage your distribution and independent software vendor software sources. Enter the following command to install it.

$ sudo apt-get install software-properties-common



3. Add webup8team Java PPA Repository in your System.

Enter following command and click hit Enter add PPA repository.

$ sudo add-apt-repository ppa:webupd8team/java



4. Import GPG Key

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

$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886



5. Install Oracle JDK 8

Update your system and Install JDK 8

$ sudo apt-get update && sudo apt-get install oracle-java8-installer



6. Verify Java Version

Check whether Java has successfully installed.

$ java -v



So you have installed Oracle JDK 8 Successfully...