Skip to content

Instantly share code, notes, and snippets.

@alejandroandreu
Created May 2, 2018 14:23
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 alejandroandreu/65cf21d986e4542d9930f1d059b511ad to your computer and use it in GitHub Desktop.
Save alejandroandreu/65cf21d986e4542d9930f1d059b511ad to your computer and use it in GitHub Desktop.
Unattended Oracle JDK8 installation on Ubuntu 16.04
echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
add-apt-repository ppa:webupd8team/java
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y oracle-java8-installer
DEBIAN_FRONTEND=noninteractive apt-get install -y oracle-java8-set-default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment