Created
March 15, 2014 16:30
-
-
Save rusllonrails/9570040 to your computer and use it in GitHub Desktop.
UBUNTU 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
1) Enter these 2 commands in the Terminal to add this PPA and update your packages list: | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
2) Enter one (or more) of these commands to install the proprietary Java(s) you require: | |
sudo apt-get install oracle-java6-installer | |
sudo apt-get install oracle-java7-installer | |
sudo apt-get install oracle-java8-installer | |
3) When the respective Java installer script is loaded and then it downloads and installs the proprietary Java packages, you can also enter the following command to check the result of the installation: | |
java -version | |
You should then get a terminal output (for java8) like this: | |
java version "1.8.0-ea" | |
Java(TM) SE Runtime Environment (build 1.8.0-ea-b54) | |
Java HotSpot(TM) Server VM (build 24.0-b21, mixed mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment