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. adam

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

  2. jayalakshmy

    Thanks for providing this info. very helpful

  3. shahjees

    thanks again for this great guide! :)

  4. ramses

    Many Thanks Leogaggl !

  5. Mario

    Great! Works like a charm. Thx man!

  6. shiva

    Tnx.

  7. gourav

    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. Rafael

    It works perfectly!!!

    Very Thank you!!!

  9. chingkrup

    THanks

  10. qmoney06

    Thanks!

  11. jorge

    funcionó perfectooo!!!!
    Muchas gracias!!!!!

  12. Tessari

    Thanks man! Saved a lot of time

  13. MoRDi

    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. tim

    thanks now i can play minecraft. :D

  15. racios

    thank you very much..it helps :)

  16. Manjunath K

    Thanks a lot :)

  17. aamir abro

    that repo worked

    thanks

  18. monika

    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. leogaggl

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

  20. the jer

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

  21. santhosh

    Thx!!

  22. leogaggl

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

  23. Pavel

    thank you very much!

  24. Gerardo

    Simply and Easy. Works for me!. Thanks
    Gerardo

  25. Jose

    Thanks!

  26. Hasan

    thanks

  27. controlpete

    thx uh done it great job

  28. Rodrigo

    Thank you! It worked perfectly!

  29. adm.trunglv

    Very well, many thanks for your sharing

  30. abhay

    Thanks it helped

  31. Pracheer

    thanx man

  32. sara

    thanks, works :)

  33. magda

    work for me. thanks.

  34. ravi

    Thank a lot ..

Leave a Reply

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