Switching Java plugin for Firefox 3 beta 5 in Kubuntu Hardy

The default java plugin in Kubuntu hardy is using IcedTea. If you want to use sun java plugin, first make sure you have install it using Adept or apt-get, and then to terminal and type
sudo update-alternatives --config xulrunner-1.9-javaplugin.so

This will list the available plugins, and you can choose which plugin to use. For my case, this is what I have:

There are 2 alternatives which provide `xulrunner-1.9-javaplugin.so’.

Selection Alternative
1 /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
*+ 2 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/gcjwebplugin.so

Press enter to keep the default[*], or type selection number: 1
Using ‘/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so’ to provide ‘xulrunner-1.9-javaplugin.so’.

To check go to “Tools -> addons” and find java, you will see now it is Java (TM) plugin is in use.


3 Responses

  1. You need to install sun-java6-plugin first, otherwise you won’t have the option.
    just type

    %sudo apt-get install sun-java6-plugin

  2. […] and then you need to switch the java plugin to use the Sun Java plugin. To do that, follow the procedures in this post. […]

  3. thanks, this post really helped me!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: