View Full Version : [ubuntu] Sun Java 6 plugin for firefox

November 19th, 2008, 03:14 AM
Hi All,
I am on Ubuntu 8.10 AMD64. I tried to install the sun jave6 plugin with:

sudo apt-get install sun-java6-plugin

The I go these:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-plugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-plugin has no installation candidate

Any pointers where about this package is moved to?


November 19th, 2008, 03:40 AM
Maybe you don't have enough repos enable in /etc/apt/sources.list. Post it here.

cat /etc/apt/sources.list

November 19th, 2008, 12:39 PM
You are trying to install a 32-bit-only package in a 64-bit environment.

The Sun Java plugin is currently only available for 32-bit architecture. What 64-bit users usually do is one of the following options:

1) Install the ia32-sun-java6-bin package, which will allow you to use 32-bit Java even on your 64-bit architecture. If you install this package, the plugin will be located at


and you can copy it to the folder ~/.mozilla/plugins

However, if you choose this method you'll have to use the plugin in a 32-bit Firefox for it to work. The easiest way to get a 32-bit Firefox is to download it from www.mozilla.com. Ask if you need more details.

2) Install the icedtea6-plugin package, which contains the OpenJDK implementation of Java. This is the easier method, as it is a 64-bit plugin, but it is reported that this plugin does not work on all applets (should work on most, though)

PS: it might take an entire day to check your reply to this, but I will.

November 19th, 2008, 01:01 PM
Or install ubuntu-restricted-extras.

December 3rd, 2009, 07:51 AM
Thanks a lot Keyper7 for the icedtea6-plugin idea. I was struggling to get a JRE plugin in firefox on karmic 64