fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: Java crashes in Mozilla Firefox

Re: Java crashes in Mozilla Firefox

From: Ian Malone <ibmalone_at_nospam>
Date: Fri Oct 07 2011 - 10:13:39 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

On 7 October 2011 09:30, Per Anton Rønning <pa-ronn@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 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines