Installing Oracle Java7 JDK on Ubuntu 12.04

If you really need Oracle Java (some applications seem to insist on it) on Ubuntu here is the procedure using a PPA.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

HT to WebUpd8

Author: Leo Gaggl

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

24 thoughts on “Installing Oracle Java7 JDK on Ubuntu 12.04”

  1. Thank-you so much. I wasted 4 hours trying to get ubuntu’s efforts to work with my java web-app (icedtea). I followed this advice and it just works! THANKS

  2. life is so easy when guys like you are present out there… thanks for your post.. much appreciated.. thank you once again..

  3. Not woking, downloading package from oracle URL gives an error document instead of installer package

  4. This works like charm. I wasted many hours trying to get this done via Software Center but JDK failed to enable in my Firefox. Thanks a million for your help.

  5. Thanks very much for your oracle-java7-installer,I am building Android from source,but it requires sun’s jdk.Thanks GOD I find your installer,now it works!
    Thank you very much.

Leave a Reply

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