LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-23-2005, 02:50 PM   #1
jfk
LQ Newbie
 
Registered: Oct 2003
Location: West Byfleet, UK
Distribution: FC3
Posts: 7

Rep: Reputation: 1
Question 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

Last edited by jfk; 02-23-2005 at 03:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 03:13 AM
Firefox 1.0.1 and Java 1.5 plugin: no go Kropotkin Linux - Software 8 03-19-2005 02:01 PM
Java Plugin for Firefox on FC3 green_squirrel Fedora 7 02-20-2005 05:24 PM
Java Plugin for Firefox wiskic10_4 Linux - Software 3 12-17-2004 09:09 PM
java plugin for firefox wi_slacker Slackware 14 05-29-2004 03:06 PM


All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration