Created
August 19, 2013 01:04
-
-
Save toby/6264972 to your computer and use it in GitHub Desktop.
Ubuntu Oracle Java Install
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 oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 | |
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main" >> /etc/apt/sources.list | |
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main" >> /etc/apt/sources.list | |
apt-get update | |
apt-get -y install oracle-java7-installer | |
apt-get -y install oracle-java7-set-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment