Created
August 4, 2011 20:46
-
-
Save ddura/1126221 to your computer and use it in GitHub Desktop.
Replacing OpenJDK Java with Oracle Java 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
# Uncomment the lines that reference the partner repository | |
sudo nano /etc/apt/sources.list | |
# Once the lines are uncommented, update apt-get | |
sudo apt-get update | |
# Install the 'Sun' Java JDK | |
sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk | |
# Update Ubuntu to use the alternatives | |
sudo update-java-alternatives -s java-6-sun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment