Skip to content

Instantly share code, notes, and snippets.

@thirteen37
Last active June 4, 2018 14:44
Show Gist options
  • Save thirteen37/a03ac81d401ad7ad69151c8be40bb94a to your computer and use it in GitHub Desktop.
Save thirteen37/a03ac81d401ad7ad69151c8be40bb94a to your computer and use it in GitHub Desktop.
Install Java 8 on C.H.I.P.

Install Java 8 on C.H.I.P.

C.H.I.P. or PocketC.H.I.P. is a Debian Jessie-based system. We can use the Ubuntu Trusty repos:

sudo sh -c "echo \"deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main\" > /etc/apt/sources.list.d/java8.list"
sudo sh -c "echo \"deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main\" >> /etc/apt/sources.list.d/java8.list"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
sudo apt-get update
sudo apt-get install -y oracle-java8-installer oracle-java8-set-default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment