Created
January 26, 2014 20:00
-
-
Save Cameron-C-Chapman/8638452 to your computer and use it in GitHub Desktop.
Install Oracle JDK on Ununtu
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
# Installing Oracle (Sun) JDK on Ubuntu | |
# Before you install it, remove OpenJDK, if you have it installed: | |
sudo apt-get purge openjdk* | |
# To install Java 8/7/6, do this: | |
# Add the PPA: | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:webupd8team/java | |
# Update the repo index: | |
sudo apt-get update | |
# Install Java 8: | |
sudo apt-get install oracle-java8-installer | |
# Or, install Java 7: | |
# sudo apt-get install oracle-java7-installer | |
# Or, install Java 6: | |
# sudo apt-get install oracle-java6-installer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment