LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox Java Plugin only works as root (FC3) (https://www.linuxquestions.org/questions/linux-software-2/firefox-java-plugin-only-works-as-root-fc3-293964/)

jfk 02-23-2005 01:50 PM

Firefox Java Plugin only works as root (FC3)
 
The Java plugin works OK if I'm logged in as root. However if I'm not root, firefox barfs as soon as it hits any java applet in a page - dies with a seg violation. Tried running strace on it, but none the wiser, no info as to what is failing from it. In case it makes a difference, the flash player plugin works for all users.

System info:
2.6.10 kernel, firefox installed from firefox-1.0-2.fc3, Java from jre-1.5.0_01-fcs

User has this off home dir...
/home/jfk/.mozilla/plugins
lrwxrwxrwx 1 jfk jfk 58 Feb 23 16:10 libjavaplugin_0ji.so -> /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so

and this is from the /usr/lib/firefox-1.0/plugins dir...

[root@tristram plugins]# ls -l
total 2088
-rwxr-xr-x 1 root root 856 Feb 9 19:47 flashplayer.xpt
-rwxr-xr-x 1 root root 2096844 Feb 9 19:47 libflashplayer.so
lrwxrwxrwx 1 root root 58 Feb 23 16:04 libjavaplugin_0ji.so -> /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 16304 Nov 11 06:18 libnullplugin.so

Some other info:
[root@tristram plugins]# java -version
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

[root@tristram plugins]# alternatives --config java

There are 2 programs which provide 'java'.

Selection Command
-----------------------------------------------
* 1 /usr/share/java/libgcj-java-placeholder.sh
+ 2 /usr/java/j2re1.5.0_01/bin/java

and the env. var J2RE_HOME=/usr/java/jre1.5.0_01

Before anyone asks the obvious, yes, java is enabled in the user's browser.

Any pointers welcome.

jfk at p o b o x (dot) c o m


All times are GMT -5. The time now is 08:09 AM.