Installing Sun Java in Ubuntu Lucid

My upgrade to Lucid blew my Sun Java 6 JDK installation away, which was my default Java installation. No problem, right? Just run a sudo apt-get sun-java6 blah blah blah and we’ve got it back… Well, no. Ubuntu has moved Sun (actually, Oracle now) Java to a partner repo. So here’s what I had to do.

Open a terminal window, and enter:
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
then enter
sudo apt-get update
and finally:
sudo apt-get install sun-java6-jdk
This will install version 20, as of this writing.

Advertisements

About buffalobillion

Web Developer, JavaScript Balrog, Java dude, Ruby/Rails enthusiast. Guitar Playa.
This entry was posted in Linux, Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s