Forked from Sanix-Darker/[Shell] Install Java JDK 1.8 on Debian, Kali linux
Created
July 4, 2018 09:03
-
-
Save sawhtetkhine-soe/0f168ff651becde8c86edab6a56bf3ee to your computer and use it in GitHub Desktop.
[Shell] Install Java JDK 1.8 on Debian, Kali linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su - | |
cat >/etc/apt/sources.list.d/webupd8team-java.list<< EOF | |
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
EOF | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 | |
apt-get update | |
apt-get install oracle-java8-installer | |
java -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment