1

I've been pulling my hair out trying to get Oracle Java running in Chromium. My Java version is shown below:

java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) Server VM (build 20.7-b02, mixed mode)

In my bash_profile I have:

export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_32 
export PATH=$PATH:$JAVA_HOME/bin 4

I've tried linking as below:

ln -s $JAVA_HOME/jre/lib/i386/libnpjp2.so /usr/lib/chromium-browser/plugins

I had it working and then upgraded to 12.04, and am now stuck.

2 Answers2

1

I used to link the libnpjp2.so as /usr/lib/mozilla/plugins/libnpjp2.so and ~/.mozilla/plugins/

EDIT: Where to download and how to install the sun java plugin

1

I finally got it working by running the commands from this link for amd64

sudo apt-get remove firefox openjdk-6-jdk icedtea-6-plugin
sudo apt-get install firefox:i386 openjdk-6-jdk:i386 icedtea-6-plugin:i386