Skip to content

Sun Java in Ubuntu 11

January 26, 2011

I don’t know why Sun’s Java was not available in Ubuntu 11, but this did it for me:

 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-jdk

Explanation:
http://stackoverflow.com/questions/3747789/how-to-install-sun-jdk-on-ubuntu-10-10-maverick-meerkat

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=11.04
 DISTRIB_CODENAME=natty
 DISTRIB_DESCRIPTION="Ubuntu 11.04"
Advertisements

From → tech-tips

3 Comments
  1. Wonder why no one “likes” it ?. cause your commands are incorrect.

    • Oh, come here. Give me a hug. 🙂 We love you. There, there. Now, tell me, what are the correct commands?

  2. Glenn permalink

    didn’t work for mee keeps saying “It’s not avaible but there’s another aplication thats being refered to” some weird sh*t ugh and unless JDK suddenly works with MC now I don’t rly care to use that instead

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

%d bloggers like this: