Created
December 11, 2014 17:03
-
-
Save PauloLuan/39219d4b6545db648e83 to your computer and use it in GitHub Desktop.
Instalar Oracle Java7
This file contains hidden or 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
sed 's/main$/main universe/' -i /etc/apt/sources.list | |
apt-get update && apt-get install -y software-properties-common python-software-properties | |
add-apt-repository ppa:webupd8team/java -y | |
apt-get update | |
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | |
apt-get install -y oracle-java7-installer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment