How to install Java in Ubuntu 11.04 Natty Narwhal [PPA]

Here is a simple guide to install Java in Ubuntu 11.04 Natty Narwhal via PPA. In Natty the previous versions of Java will be integrated into the Canonical Partner Repository by default. To date there are no Canonical Partner Repository available, so if you want to install Java on Ubuntu 11.04 Natty you have to go for other alternatives.

The best solution is to use this PPA for more further Java updates. To install Java in Ubuntu 11.04 Natty Narwhal, open a Terminal and type :

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

During the installation press ‘OK’ in the screen that appears within the Terminal (see the below screenshot). You can do so by navigating using the ‘Tab’ key and once ‘OK’ is highlighted in red, press ‘Enter’.

If you have any problems related to installation please let us know. Subscribe to our feeds or Follow us on Facebook and Twitter for more updates.

You can leave a response, or trackback from your own site.

SUBSCRIBE TO OUR DAILY RSS FEED!

RELATED POSTS

7 Responses to “How to install Java in Ubuntu 11.04 Natty Narwhal [PPA]”

  1. john says:

    this works better:

    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
    sudo update-alternatives –config java

  2. Adam says:

    one thing I found was after installing with the above method, I couldn’t chat or play games in Chrome. The solution was simply to go to Chrome Preferences, and allow pop ups.

    It was the pop up blocker in Chrome that wouldn’t open the chat window, not the fact that Java wasn’t installed.

  3. John says:

    Well it worked for me without a hitch. Many thanks. – John

Leave a Reply

Popup By Puydi