Donnerstag, 19. Juni 2008

Firefox 3 and Java on Gentoo Linux

I installed Firefox 3 yesterday and had some trouble to get Java working on it. I googled some tips where to softlink the libjavaplugin.oji.so (in the xulrunner directorie or the mozilla directory ae) but none worked. So here is the solution which worked for me and which i couldnt google:

ln -s /opt/sun-jdk-1.6.0.06/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/nsbrowser/plugins/

So i had to softlink it to /usr/lib/nsbrowser/plugins/.

Only reason for this post ist, that people with the same problem as i had can now google the solution.

Sorry for my horrible english.

1 Kommentar:

Anonym hat gesagt…

Well,

better solution is to emerge dev-java/icedtea6-bin with nsplugin USE-Flag enabled.

Relinking as you provided may cause some crashes of firefox from time to time while loading java.

A full How To you can get here --> http://blog.ppfeufer.de/Gentoo_Linux/Firefox_und_Java_JRE_auf_amd64_Systemen.html

This works not only on 64-bit systems as far as I know.

* dev-java/icedtea6-bin
Available versions: (~)1.3.1-r1!s!t (~)1.4!s {X alsa doc examples nsplugin source}
Homepage: http://icedtea.classpath.org
Description: A Gentoo-made binary build of the icedtea6 JDK