RE: PROBLEM WITH JAVA PLUGIN IN FIREFOX

Asked by thgang

Hi there,

I'm a bit of a newbie on Xubuntu, but I seem to be getting slightly better from day to day!!
I have had a look at the other questions but it hasn't seemed to help.

I typed the command 'sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts' which should have installed Java Runtime on Firefox but I get an error message, this reads;

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Building tag database... Done
No candidate version found for sun-java6-plugin
No candidate version found for sun-java6-fonts
The following packages have been automatically kept back:
  libfreetype6
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done

Any help would be great!

Thanks,
Andy

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xfce4-panel Edit question
Assignee:
No assignee Edit question
Solved by:
thgang
Solved:
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#1

What version of Xubuntu are you running?

The following command will tell you:-

lsb_release -a

For example:-

alan@mother:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty

You need to ensure that the multiverse repository is enabled as per this guide:-

http://wiki.ubuntu.com/Repositories

Also the following guide tells you how to install java:-

http://wiki.ubuntu.com/Java

Revision history for this message
thgang (thgang) said :
#2

emin@emin-desktop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty

Revision history for this message
Nicolas DERIVE (kalon33) said :
#3

Try in a terminal "sudo apt-get install sun-java5-plugin" and tell us if it works.

Hope that it helps you.

--kalon33

Revision history for this message
thgang (thgang) said :
#4

No, it doesn't work, it cannot find the package:

E: Couldn't find package sun-java5-plugin

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#5

As I pointed out in my previous message, you need to enable the multiverse repository:-

http://wiki.ubuntu.com/Repositories

And follow these instructions:-

http://wiki.ubuntu.com/Java

Revision history for this message
André Klitzing (misery) said :
#6

If you have a 64-Bit installation you can't have a native browser-plugin of sun-java. That is a "bug" in upstream.

Bug-Report: https://bugs.launchpad.net/sun-java/+bug/104512

WorkAround: https://help.ubuntu.com/community/Java#head-6524a0c56845e40dccd32676dad42830325e5707

Revision history for this message
Best thgang (thgang) said :
#7

Alan, thankyou very much. It works fine now.