Google Plus

How to install latest JRE java version in Ubuntu 10.10 Maverick meerkat via PPA

Written by Mel Kham on . Posted in Ubuntu

In order to run Java programs, you must have a Java run time environment (JRE) installed. To run Java web applets in your browser, you additionally need a plugin for your browser, which is not installed by default. In this post i will show you 2 ways to install Java, The first how to install Java6 from partner repository and the second how to have the latest stable version of java from PPA repository.

1- If you want to install Java run time in ubuntu 10.10 Maverick meerkat , you need to activate first the partner repository, to do that, go to System–>Administration–>Synaptic package manager then go to settings–> repositories and activate canonical Partners

partner-repos

Then open terminal and type the folowing command:

sudo apt-get install sun-java6-jre sun-java6-plugin

 

2- If you want to install the latest java version in Ubuntu 10.10 Maverick Meerkat, open terminal and enter the following commands:

sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
apt-cache search java

If you have various versions of Java installed and you want to change the default one, open terminal and type the command :

sudo update-alternatives --config java

java

Type selection number of java you want to have by default and press enter.

Is done !.

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • jackson

    oh my god!
    this is wrong!
    not exist, more
    sudo apt-get install sun-java6-jre , in the ubuntu 10.10……
    love of god!
    fuck…

    sssj_jsss@yahoo.com.br

  • jackson

    sorry….
    okokok

    all ok

    thanks,,,, alright

  • zachariakassim

    i want install javase6 develepment
    kit in ubuntu 10.10, please inform
    me step by step from where to downl
    oad and and how to install

  • amondo

    please look at ‘update-java-alternatives’ instead of ‘update-alternatives’ i think it is a better idea

  • http://www.techhowknow.com Ganesan

    Thank you very much friend.

  • http://www.techhowknow.com Ganesan

    Friends,

    the above repository not working.. find the working repository http://packages.ubuntu.com/hardy/i386/sun-java6-jdk/download

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

Yes i will. Keep visiting. Subscribe us to get daily updates. Thanks for the comment

Rakesh Vijayan

|

Hi SK

I am Rakesh vijayan thanks for your great work ,by your work I start to learn what is ldap , my request is will you make tutorial for ldap and samba pdc for us on ubuntu 12.04

Guest

|

It was a typo. Now its corrected. Thanks for pointing out.

Michael T

|

You shouldn’t be so stupid, in the first time.

PrestaShop

|

Hi! Thank you for this nice article. We’ve 130,000+ active stores, you forgot the “1″ ;-)

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .