UPDATE: To install on 12.04 (Precise Pangolin) you need a different PPA.

Since sun-java6-jdk has been removed from the default Ubuntu 11.10 (Oneiric Ocelot) repositories you need to add a PPA repository (unless you want to install by hand)

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

Leo Gaggl

ict business owner specialising in mobile learning systems. interests: sustainability, internet of things, ict for development, open innovation, agriculture

This Post Has 38 Comments

  1. thanks man i didn’t know it changed in 11.10 this really helped

  2. Thanks for providing this info. very helpful

  3. thanks again for this great guide! :)

  4. Many Thanks Leogaggl !

  5. Great! Works like a charm. Thx man!

  6. Tnx.

  7. if you get any error then try after follow command
    sudo add-apt-repository ppa:ferramroberto/java

    then run this
    apt-get install python-software-properties
    and now
    sudo add-apt-repository ppa:ferramroberto/java

  8. It works perfectly!!!

    Very Thank you!!!

  9. THanks

  10. Thanks!

  11. funcionó perfectooo!!!!
    Muchas gracias!!!!!

  12. Thanks man! Saved a lot of time

  13. yo tras añadir el repo, tube que editar el fichero .list para borrar la 3º lista.

    sudo nano /etc/apt/sources.list.d/ferramroberto-java-oneiric.list

  14. thanks now i can play minecraft. :D

  15. thank you very much..it helps :)

  16. Thanks a lot :)

  17. that repo worked

    thanks

  18. while i am updating managers this is the error i am facing can one please help me..

    jnias@jnias-desktop:/$ sudo apt-get update
    E: Malformed line 99 in source list /etc/apt/sources.list (dist parse)
    E: The list of sources could not be read.

  19. @monica Your /etc/apt/sources.list file has something wrong if you read the error message. Check line 99 of that file.

  20. it is free ? or have to pay . Nway thanks dude

  21. Thx!!

  22. @the jer: if you need to check that it’s free, chances are you won’t really need it.

  23. thank you very much!

  24. Simply and Easy. Works for me!. Thanks
    Gerardo

  25. Thanks!

  26. thanks

  27. thx uh done it great job

  28. Thank you! It worked perfectly!

  29. Very well, many thanks for your sharing

  30. Thanks it helped

  31. thanx man

  32. thanks, works :)

  33. work for me. thanks.

  34. Thank a lot ..

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.