Skip to content

Instantly share code, notes, and snippets.

@menzerath
Created January 28, 2015 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save menzerath/baccf8db83bffc6bfbd7 to your computer and use it in GitHub Desktop.
Save menzerath/baccf8db83bffc6bfbd7 to your computer and use it in GitHub Desktop.
Install Oracle Java 8 on a fresh Ubuntu 14.04 x64
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
add-apt-repository -y ppa:webupd8team/java
apt-get update
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get install -y oracle-java8-installer oracle-java8-set-default
java -version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment