Created
July 22, 2014 14:35
-
-
Save TheHippo/ad6fd40c87ec34e79fbe to your computer and use it in GitHub Desktop.
Silent and automatic install of Oracles Java JDK under Ubuntu
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
#!/bin/bash | |
sudo add-apt-repository ppa:webupd8team/java --yes | |
sudo apt-get update | |
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections | |
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections | |
DEBIAN_FRONTEND=noninteractive sudo apt-get install oracle-java7-installer --yes --force-yes --assume-yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment