Ubuntu 10.04 Sun Java
May 5, 2010 · 1 minute readCategory: ubuntu
This is post is now quite old and the the information it contains may be out of date or innacurate.
If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub
Here’s how I got it all back:
Get Sun Java
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
Now you need to check the path to sun java from the list output:
sudo update-alternatives --list java
and now set the path for sun java:
sudo update-alternatives --set java {COPY AND PASTE SUN JAVA PATH HERE}
now to check its using the correct version
java -version