Wednesday, June 2, 2010

Install Java on Ubuntu 10.04

After upgrading to Ubuntu 10.04, I noticed that Java was no longer accessible. Furthermore the manual installation methods do not seem to work, nor will the default repository install. Here's what I had to do to get it working with the Firefox plugin:
  1. Add the repository: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
  2. Update the repository cache: sudo aptitude update
  3. Perform the install: sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin
  4. Restart Firefox
Now all is working.

No comments: