Tim Evans escribío: > We're having trouble with R's use of the IcedTea Java plugin with FireFox > on an x64 system. > > Despite passing Sun's JVM test (http://java.com/en/download/help/testvm.xml), > R fails to load the plugin, so none of its web stuff works. > > FireFox's 'about:plugins' lists the IcedTea plugin, even when the Sun > plugin is placed in the user's .mozilla/plugins directory. > > How can you force-load the real Sun Java plugin instead? > Yep, I had the same problem. Very frustrating. First of all, the sun java 1.6.X has problems with libxcb, then icedtea applets do not display. Grrrr. My solution was a bit brutish, but I downloaded that latest 1.7 snapshot (which is what icedtea is) from http://download.java.net/jdk7/binaries/ Then I ran the following script PLEASE EDIT FOR YOUR OWN PATHS to set it up for the the alternatives and plug in. It works for all java apps I've tried without problems. Oh yeah, the script is a modified script that the icedtea rpm uses for it's postinstall. And for the people who want to argue about "free" vs "tainted" software. I just want software to work. __BEGIN__ #!/bin/bash if test -f /proc/sys/fs/binfmt_misc/jarexec then echo '-1' > /proc/sys/fs/binfmt_misc/jarexec fi if test -f /proc/sys/fs/binfmt_misc/register then echo ':jarexec:M::PK\x03\x04::/usr/jdk/jre/lib/jexec:' \ > /proc/sys/fs/binfmt_misc/register fi /usr/sbin/alternatives \ --install /usr/bin/java java /usr/jdk/bin/java 17000 \ --slave /usr/lib/jvm/jre jre /usr/jdk/jre \ --slave /usr/lib/jvm-exports/jre jre_exports /usr/jdk/jre \ --slave /usr/bin/keytool keytool /usr/jdk/bin/keytool \ --slave /usr/bin/orbd orbd /usr/jdk/bin/orbd \ --slave /usr/bin/pack200 pack200 /usr/jdk/bin/pack200 \ --slave /usr/bin/policytool policytool /usr/jdk/bin/policytool \ --slave /usr/bin/rmid rmid /usr/jdk/bin/rmid \ --slave /usr/bin/rmiregistry rmiregistry /usr/jdk/bin/rmiregistry \ --slave /usr/bin/servertool servertool /usr/jdk/bin/servertool \ --slave /usr/bin/tnameserv tnameserv /usr/jdk/bin/tnameserv \ --slave /usr/bin/unpack200 unpack200 /usr/jdk/bin/unpack200 \ --slave /usr/share/man/man1/java.1 java.1 /usr/jdk/man/man1/java.1 \ --slave /usr/share/man/man1/keytool.1 keytool.1 /usr/jdk/man/man1/keytool.1 \ --slave /usr/share/man/man1/orbd.1 orbd.1 /usr/jdk/man/man1/orbd.1 \ --slave /usr/share/man/man1/pack200.1 pack200.1 /usr/jdk/man/man1/pack200.1 \ --slave /usr/share/man/man1/policytool.1 policytool.1 /usr/jdk/man/man1/policytool.1 \ --slave /usr/share/man/man1/rmid.1 rmid.1 /usr/jdk/man/man1/rmid.1 \ --slave /usr/share/man/man1/rmiregistry.1 rmiregistry.1 /usr/jdk/man/man1/rmiregistry.1 \ --slave /usr/share/man/man1/servertool.1 servertool.1 /usr/jdk/man/man1/servertool.1 \ --slave /usr/share/man/man1/tnameserv.1 tnameserv.1 /usr/jdk/man/man1/tnameserv.1 \ --slave /usr/share/man/man1/unpack200.1 unpack200.1 /usr/jdk/man/man1/unpack200.1 /usr/sbin/alternatives \ --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/jdk/jre/plugin/i386/ns7/libjavaplugin_oji.so 17000 __END__ -- Brian Millett - [ Ivanova, "The Geometry of Shadows"] "If it gets too bad I'll just gnaw it off at the ankle."