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.