Java crashes in Mozilla Firefox

Ian Malone ibmalone at gmail.com
Fri Oct 7 10:13:39 UTC 2011


On 7 October 2011 09:30, Per Anton Rønning <pa-ronn at online.no> wrote:
> Ian Malone wrote:



>
> Example, firefox6 The executable is located under
> /opt/firefox6/firefox  (executed from /usr/bin/firefox (=symlink to /opt...)
> Here I did mkdir plugins, where I located
> libnpjp2.so -> /usr/java/jre1.6.0_27/lib/i386/libnpjp2.so
>
> Firefox finds this plugin, it appears both in about:plugins,
> and under tools>add-ons.
>
>
>> It would be possible to connect it up to alternatives by symlinking
>> further from /usr/lib/mozilla/plugins/libjavaplugin.so to the location
>> for the installed Firefox.
>>
>>> And then restart Firefox. You can verify that it is set up by going to
>
> Do you mean that I should use libjavaplugin instead of libnpjp2.so?
>

There's plenty of scope for confusion here, libjavaplugin is just a
convenient symlink that alternatives maintains to point (indirectly)
to the actual plugin for the particular Java install you're using
(libnpjp2 in the case of jre, IcedTeaPlugin in the case of
IcedTea/openjdk).

> Btw: When starting firefox from its native directory /opt/firefox6....
> and trying to execute the java internet banking logon app, Firefox just
> vanishes, and leaves this error msg on the terminal screen:
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
> I do not see what this could be. Has it to do with "lang"=languages?
>

No, it indicates a missing Java class and probably indicates your java
setup is broken. Deepak suggestion of trying IcedTea is definitely
worth trying, though I'm not sure how far developed it is in fedora 9.

-- 
imalone


More information about the users mailing list