Created
May 2, 2018 14:23
-
-
Save alejandroandreu/65cf21d986e4542d9930f1d059b511ad to your computer and use it in GitHub Desktop.
Unattended Oracle JDK8 installation on Ubuntu 16.04
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
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