PDA

View Full Version : F9 x86_64 + firefox + openjdk plugin


jrummy27
2008-04-08, 11:49 AM CDT
I am on F9 beta which is going well except for the lack of NVidia drivers :( but I am trying to get the new openjdk plugin going with firefox and am having some issues. If anyone has some insight, please let me know.

I installed java-1.6.0-openjdk and java-1.6.0-openjdk-plugin. Now when I go to a site requiring java it pops up with:

gcjwebplugin error: Failed to run /usr/lib64/mozilla/plugins/../../bin/pluginappletviewer. For more detail rerun "firefox -g" in a terminal window. I assume that's caused by the following statment from the release notes (http://fedoraproject.org/wiki/Docs/Beats/Java): The gcjwebplugin security policy may be too restrictive. To enable restricted applets, run the firefox -g command in a terminal window to see what is being restricted, and then grant the restricted permission in the /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/security/java.policy file. So ok, I try to run firefox -g, but it tells me to get the firefox debuginfo which I do. Then when I run it again, it tells me [root@cervantes ~]# firefox -g
MOZILLA_FIVE_HOME=/usr/lib64/firefox-3.0b5
LD_LIBRARY_PATH=/usr/lib64/firefox-3.0b5:/usr/lib64/firefox-3.0b5/plugins:/usr/lib64/firefox-3.0b5
DISPLAY=:0.0 FONTCONFIG_PATH=/etc/fonts:/usr/lib64/firefox-3.0b5/res/Xft
DYLD_LIBRARY_PATH=/usr/lib64/firefox-3.0b5:/usr/lib64/firefox-3.0b5
LIBRARY_PATH=/usr/lib64/firefox-3.0b5:/usr/lib64/firefox-3.0b5/components:/usr/lib64/firefox-3.0b5
SHLIB_PATH=/usr/lib64/firefox-3.0b5:/usr/lib64/firefox-3.0b5
LIBPATH=/usr/lib64/firefox-3.0b5:/usr/lib64/firefox-3.0b5
ADDON_PATH=/usr/lib64/firefox-3.0b5 MOZ_PROGRAM=/usr/lib64/firefox-3.0b5/firefox
MOZ_TOOLKIT=
moz_debug=1
moz_debugger=
which: no ddd in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) /usr/bin/gdb /usr/lib64/firefox-3.0b5/firefox -x /tmp/mozargs.p7mnFu
GNU gdb Fedora (6.8-1.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...
Missing separate debuginfo for /usr/lib64/firefox-3.0b5/firefox
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/4e/6273aba42b92740838658040586e75716c5a73.debug
(no debugging symbols found) So I run the command it gave me but that fails to find anything yum --enablerepo='rawhide-debuginfo' install /usr/lib/debug/.build-id/4e/6273aba42b92740838658040586e75716c5a73.debug
Loaded plugins: downloadonly, refresh-packagekit
rawhide | 2.4 kB 00:00
livna-development | 2.1 kB 00:00
Setting up Install Process
Parsing package install arguments
Importing additional filelist information
No package /usr/lib/debug/.build-id/4e/6273aba42b92740838658040586e75716c5a73.debug available.
Nothing to do
I even installed xulrunner-debuginfo which pulled down about 30 dependencies and still no luck. Any ideas?

Seve
2008-04-08, 04:15 PM CDT
( Moved to Alpha - Beta )

strikeforce
2008-04-08, 05:07 PM CDT
Post a bug report to bugzilla.redhat.com please it's pretty important this gets fixed. You can try with selinux off for the moment to see if thats causing it which I think it is.

jrummy27
2008-04-08, 10:27 PM CDT
Unfortunately I've already got selinux disabled :( I'll file a bugzilla. Thanks

robertdaleweir
2008-04-08, 10:49 PM CDT
I am on F9 beta which is going well except for the lack of NVidia drivers.

Hi
I tried Fedora 9 Betathe other nite and was unable to install from the sio burned to a DVD. I have a GeForce 6600 GT Video Card and all went well (Anaconda was working away) until I got a notice on my Screen that no Video Signal. I waited and waited but it never returned. I rebooted into Fedora 8 and all is well. Hope that I will be able to upgrade to 9 when it is finally released, but maybe not!
Robert

jrummy27
2008-04-09, 11:30 AM CDT
Ok so I got past the first problem which is the error firefox was generating gcjwebplugin error: Failed to run /usr/lib64/mozilla/plugins/../../bin/pluginappletviewer. For more detail rerun "firefox -g" in a terminal window. upon looking at this error closer I noticed it is looking for /usr/lib64/bin/pluginappletviewer, but no such directory exists. So I made /usr/lib64/bin and symlinked the pluginappletviewer provided by openjdk to that folder. Now when I go to a java site I don't get an error, but the area where the applet goes is blank. Guess I'll keep messing with it, and open a bugzilla about the plugin looking in the wrong path

jrummy27
2008-04-09, 11:57 AM CDT
https://bugzilla.redhat.com/show_bug.cgi?id=441727