Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added all the required package sources to my list file and nomatter what i do i keep getting this:

E: Package 'sun-java6-jdk' has no installation candidate

Anyone knows which way i can install sun-java6-jdk on ubuntu 11? (I have successfully installed on ubuntu 10 but no way on 11).

for example i saw this tutorial:

however it did not help, anyone knows what to do?


share|improve this question
up vote 2 down vote accepted

Do you mean sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6?

You have to do it through a PPA

sudo add-apt-repository ppa:ferramroberto/java

sudo apt-get update

sudo apt-get install sun-java6-jdk sun-java6-plugin
share|improve this answer
Thank you so much! been trying for days to to get this to work... – bytebender Nov 16 '11 at 23:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.