JAVA Issue

Asked by Mohit Sopori on 2010-07-25

Hi ,
          I have got Mozilla firefox and Chromium browser in my system , i am using Ubuntu 10.0.4....
                         ON some of the websites i am getting an error message that the JAVA is not installed and i am no ablew to visit some of the important websites ...

Please help me with that ....

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Solved by:
Grasswistle
Solved:
2010-07-26
Last query:
2010-07-26
Last reply:
2010-07-26
Best Grasswistle (grasswistle) said : #1

Open a terminal and run this command:
sudo apt-get install sun-java6-plugin

This should install the Java plugins for Mozilla Firefox and all necessary dependencies... You may need to restart Firefox for the changes to take effect.

I hope this helps,
Grasswistle

Grasswistle (grasswistle) said : #2

If the previously proposed command do not work, try these steps (in retrospect, I should have posted them to begin with):

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

Good luck,
Grasswistle

oocevin (ccct007) said : #3

Here, this solved my java problem:
Open your terminal and copy and paste this in
there.
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

Then when asked to except the terms click F12 and then arrow to
the left and hit enter.

That should do it for you....

Mohit Sopori (soporimohit) said : #4

Its still not working ...
This is what i am getting ...

Mohit Sopori (soporimohit) said : #5

On Sun, Jul 25, 2010 at 10:41 PM, Mohit Sopori <email address hidden>wrote:

> Its still not working ...
> This is what i am getting ...
>

E: Package sun-java6-jre has no installation candidate

Mohit Sopori (soporimohit) said : #6

>
> Its still not working ...
> This is what i am getting ...
>

E: Package sun-java6-jre has no installation candidate

oocevin (ccct007) said : #7

Can I ask why are you using two browsers.
FF is the best in my opinion. It has no
candidate because it does not know which
browser to use. That be my thought.

I deleted Chromium my self, and just
using FireFox. Or make one your main
browser so it knows where to install.

Don't need two browsers any ways..

Mohit,

You need to add the Partner repository in 10.04 LTS to install sun-java stuff.

Step 1 - add partner repo
System / Administration / Software Sources -- Other Software tab -- check "http://archive.canonical.com/ubuntu lucid partner"

Step 2 - update your apt database, press the Reload button after making above change or "sudo apt-get update"

Step 3 - then you should find: sun-java6-jre, sun-java6-jdk and sun-java6-plugin (web plugin)

Mohit Sopori (soporimohit) said : #9

Thanks for the reply ....

I got my problem by ur command