Can't get java to work with firefox

Eric S. Johansson esj at harvee.org
Fri Nov 18 02:25:43 UTC 2005


Cliff Pankonien wrote:
> I had a lot of trouble with that, but I finally broke the code. Try the 
> following:
> 
> as root, put jre-1_5_0_05-linux-i586.bin in /usr/local
> unpack jre so that you will have /usr/local/jre1.5.0_05/
> 
> find plugins directory, in my case it is in 
> /usr/lib/mozilla-firefox/plugins
> 
> in /usr/lib/mozilla-firefox/plugins directory, do:
> ln -s /usr/local/jre1.5.0_05/plugin/i386/ns7/libjavaplugin_oji.so 
> ./libjavaplugin_oji.so
> i tried it many times without the ./libjavaplugin_oji.so, it never 
> worked. once i appended the ./libjavaplugin_oji.so it worked fine. (i've 
> loaded ubuntu and debian on my desktop and laptop at least ten times 
> each over the last few weeks, and the procedure above has worked every 
> time. let me know if you still have probs...

now it is my turn for the problems with java and plugins.  I installed 
the pieces as documented and all the links were setup correctly (it 
seems).  but hittng a java filled site, nada.  no sign of java 
subprocesses.

fyi, if one sets up multiple jvm by accident (or intent), you get 
symlinks like the below.

root at lydia:/usr/lib/mozilla-firefox/plugins# ls -l libjavaplugin*
lrwxrwxrwx  1 root root 39 Nov 17 20:49 libjavaplugin.so -> 
/etc/alternatives/firefox-javaplugin.so
lrwxrwxrwx  1 root root 54 Nov 17 19:36 libjavaplugin_oji.so -> 
/etc/alternatives/libjavaplugin_oji_mozilla_firefox.so
root at lydia:/usr/lib/mozilla-firefox/plugins# ls -l 
/etc/alternatives/firefox-javaplugin.so
lrwxrwxrwx  1 root root 57 Nov 17 20:49 
/etc/alternatives/firefox-javaplugin.so -> 
/usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so





More information about the ubuntu-users mailing list