Last active
January 3, 2016 12:49
-
-
Save lra/8465769 to your computer and use it in GitHub Desktop.
Install Java 7 on Ubuntu
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
sudo su | |
add-apt-repository —yes ppa:webupd8team/java | |
apt-get update | |
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections | |
apt-get install —yes oracle-java7-installer oracle-java7-set-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment