Sunday, April 25, 2010

Enable Java plugins for google chrome in Ubuntu 10.04

In Ubuntu 10.04, sun-java6 packages are not going to be available for ubuntu within the repositories.

So in this version I used "icedtea6-plugin" that is web browser plugin based on OpenJDK and IcedTea to execute Java applets.

First you just checked there is package installed in your system.

tatshuya# sudo dpkg -l icedtea6-plugin

ii icedtea6-plugin 6b18-1.8-0ubuntu1 web browser plugin based on OpenJDK and IcedTea to execute Java applets

Next, create directory plugin in google chrome directory.
tatshuya# sudo mkdir /opt/google/chrome/plugins


Create symbolic link for java plugin
tatshuya# sudo ln -s /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so /opt/google/chrome/plugins

Run google chrome with the parameter '--enable-plugins'
tatshuya# /opt/google/chrome/google-chrome --enable-plugins %U

Test java plugins by goto website 'http://www.bodo.com/javame.htm'


== TaTsHuYa ==

5 comments:

Unknown said...

it doesn't work for some sites e.g www.chess.lt and click Play - should pop-up login window, but unfortunatelly... :(

Unknown said...

It doesn't works with the photo uploader of facebook. It shows me a message of "Missing plug-in". Do you know why?

Unknown said...

Doesn't work ;(

Brian said...

Worked for me! Thanks a lot!

Azhar said...

Thx!