Created
May 25, 2014 15:34
-
-
Save zaiste/641e14d1560413317634 to your computer and use it in GitHub Desktop.
How to install Java on Ubuntu/Debian
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
apt-get install default-jre | |
apt-get install default-jde | |
apt-get install openjdk-7-jre | |
apt-get install openjdk-7-jdk | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install oracle-java7-installer | |
update-java-alternatives -s java-7-oracle | |
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
apt-get install oracle-java7-set-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment