Created
April 13, 2013 20:46
-
-
Save johncalistro/5380011 to your computer and use it in GitHub Desktop.
How to install Java on 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
$ sudo apt-get install openjdk-6-jre | |
$ sudo apt-get install openjdk-7-jre | |
$ sudo apt-get install openjdk-6-jdk | |
$ sudo apt-get install openjdk-7-jdk | |
$ sudo add-apt-repository ppa:webupd8team/java | |
$ sudo apt-get update | |
$ sudo apt-get install oracle-java7-installer | |
to check | |
$ java -version | |
$ javac -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment