Skip to content

Instantly share code, notes, and snippets.

@pyk
Last active September 18, 2019 17:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pyk/19a619b0763d6de06786 to your computer and use it in GitHub Desktop.
Save pyk/19a619b0763d6de06786 to your computer and use it in GitHub Desktop.
Install Oracle java 8 on debian jessie

Run

wget https://gist.githubusercontent.com/pyk/19a619b0763d6de06786/raw/b09ce3a6626484adb5339597dfd391d0db9fe3cb/install-oracle-java-8-on-debian-jessie.sh
sh install-oracle-java-8-on-debian-jessie.sh

See the following blog post

sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/webupd8team-java.list
sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/webupd8team-java.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
sudo apt-get update
sudo apt-get install oracle-java8-installer
@junaid2314
Copy link

getting error while installing on debian 8 jessie

E: Unable to locate package oracle-java8-installer

@franlu
Copy link

franlu commented Sep 18, 2019

Obsolete instructions. The repository does not contain the package for version 8. Please, delete the gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment