You are not logged in.

#1 2010-12-18 19:28:36

jwhendy
Member
Registered: 2010-04-01
Posts: 621

[SOLVED] Why isn't Firefox finding JRE?

Have never run into this before... Firefox on my wife's computer can't detect the jre. She was trying to upload pictures to a site and gets the big missing plugin picture. The test HERE is not successful at detecting a java version either. What's up?

$ echo $MOZ_PLUGIN_PATH
/usr/lib/mozilla/plugins

$ ls -l /usr/lib/mozilla/plugins
lrwxrwxrwx 1 root root 34 Dec  9 02:06 libnpjp2.so -> /opt/java/jre/lib/i386/libnpjp2.so

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/jre/bin:/usr/lib/perl5/core_perl/bin

$ pacman -Q |grep jre
jre 6u23-1

The only other thing I've wondered is if I need a libjavaplugin.so... but there is no file specifically with that name. I have:

$ locate libjavaplugin
/opt/java/jre/lib/i386/libjavaplugin_jni.so
/opt/java/jre/lib/i386/libjavaplugin_nscp.so
/opt/java/jre/lib/i386/libjavaplugin_nscp_gcc29.so
/opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
/opt/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so

Do I need to link one of them into /usr/lib/mozilla/plugins?

Lastly, is this unique? A known issue? I have had a hard time finding recent threads about this issue. My searches primarily turn up suggestions to link libnpjp2.so and most threads are from 2005-2008 or so. Nothing really recent. Is this an upstream Mozilla issue or an Arch config issue?

Last edited by jwhendy (2010-12-21 01:13:11)

Offline

#2 2010-12-20 06:53:35

rockin turtle
Member
From: Montana, USA
Registered: 2009-10-22
Posts: 227

Re: [SOLVED] Why isn't Firefox finding JRE?

You haven't said whether you have enabled the plugin.

In case you haven't: from Firefox go to Tools->Add-ons->Plugins and enable the JRE (or whatever it is called) plugin.

If you have already done this, then I don't know why it isn't working.

Offline

#3 2010-12-20 08:53:02

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Why isn't Firefox finding JRE?

any warning when installing jre like permission different on package vs filesystem?

chmod 755 /usr/lib/mozilla

Last edited by wonder (2010-12-20 08:53:56)


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2010-12-20 14:40:59

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] Why isn't Firefox finding JRE?

@rockin turtle: about:plugins shows no plugins. While I haven't specifically tried the route you provided through Tools... I'm assuming it just isn't seeing it at all.

@wonder: YES! I did see that note. I'll give that a shot when I'm back home (or if I can guide my wife through the process). Thanks for the suggestion. How does that situation come about? As in how do the permissions become altered?

Offline

#5 2010-12-21 01:14:21

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] Why isn't Firefox finding JRE?

@wonder: thanks a million. For posterity's sake, the fix I used, to be explicit, was:

# chmod -R /usr/lib/mozilla

Offline

Board footer

Powered by FluxBB