Skip to content

Instantly share code, notes, and snippets.

@DiveInto
Created June 19, 2012 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DiveInto/2953320 to your computer and use it in GitHub Desktop.
Save DiveInto/2953320 to your computer and use it in GitHub Desktop.
install sun-java on ubuntu
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:sun-java-community-team/sun-java6
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
$ sudo apt-get remove openjdk-6-jdk --purge -y
$ sudo apt-get autoremove
sudo update-java-alternatives -s java-6-sun
sudo update-alternatives --config java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment