"Fatal Error: No vendor resource!" from Java when trying to use java plugin in firefox

I have a standard x86_64 11.4 install. I switched from Openjdk to Sun’s java by installing the following packages:

sudo zypper in java-sun
sudo zypper rm java-1_6_0-openjdk-plugin java-1_6_0-openjdk
sudo zypper in java-1_6_0-sun-plugin

I’m using firefox 4 and the java plugin appears to work. If I go to Sun’s Java test website it says I’m using the latest version (Java SE 6 Update 24) and that it’s working. However I can’t run any other java applets besides the simple test ones. Ones that worked fine in 11.3 on the same machine don’t work now.

sudo zypper in java-sun
sudo zypper rm java-1_6_0-openjdk-plugin java-1_6_0-openjdk
sudo zypper in java-1_6_0-sun-plugin

lrwxrwxrwx 1 root root 45 Apr  5 16:49 ControlPanel -> /usr/lib64/jvm/jre-1.6.0-sun/bin/ControlPanel
lrwxrwxrwx 1 root root 37 Apr  5 16:49 java -> /usr/lib64/jvm/jre-1.6.0-sun/bin/java
lrwxrwxrwx 1 root root 44 Apr  5 16:49 java.1.gz -> /usr/share/man/man1/java-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 61 Apr  5 16:50 javaplugin -> /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 39 Apr  5 16:49 javaws -> /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws
lrwxrwxrwx 1 root root 46 Apr  5 16:49 javaws.1.gz -> /usr/share/man/man1/javaws-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 29 Mar 24 14:39 jaxp_parser_impl -> /usr/share/java/xerces-j2.jar
lrwxrwxrwx 1 root root 28 Mar 24 14:39 jaxp_transform_impl -> /usr/share/java/xalan-j2.jar
lrwxrwxrwx 1 root root 66 Apr  5 16:49 jce_1.6.0_sun_local_policy -> /usr/lib64/jvm-private/java-1_6_0-sun/jce/vanilla/local_policy.jar
lrwxrwxrwx 1 root root 70 Apr  5 16:49 jce_1.6.0_sun_us_export_policy -> /usr/lib64/jvm-private/java-1_6_0-sun/jce/vanilla/US_export_policy.jar
lrwxrwxrwx 1 root root 28 Apr  5 16:49 jre -> /usr/lib64/jvm/jre-1.6.0-sun
lrwxrwxrwx 1 root root 28 Apr  5 16:49 jre_1.6.0 -> /usr/lib64/jvm/jre-1.6.0-sun
lrwxrwxrwx 1 root root 36 Apr  5 16:49 jre_1.6.0_exports -> /usr/lib64/jvm-exports/jre-1.6.0-sun
lrwxrwxrwx 1 root root 36 Apr  5 16:49 jre_exports -> /usr/lib64/jvm-exports/jre-1.6.0-sun
lrwxrwxrwx 1 root root 28 Apr  5 16:49 jre_sun -> /usr/lib64/jvm/jre-1.6.0-sun
lrwxrwxrwx 1 root root 36 Apr  5 16:49 jre_sun_exports -> /usr/lib64/jvm-exports/jre-1.6.0-sun
lrwxrwxrwx 1 root root 40 Apr  5 16:49 keytool -> /usr/lib64/jvm/jre-1.6.0-sun/bin/keytool
lrwxrwxrwx 1 root root 47 Apr  5 16:49 keytool.1.gz -> /usr/share/man/man1/keytool-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 37 Apr  5 16:49 orbd -> /usr/lib64/jvm/jre-1.6.0-sun/bin/orbd
lrwxrwxrwx 1 root root 44 Apr  5 16:49 orbd.1.gz -> /usr/share/man/man1/orbd-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 43 Apr  5 16:49 policytool -> /usr/lib64/jvm/jre-1.6.0-sun/bin/policytool
lrwxrwxrwx 1 root root 50 Apr  5 16:49 policytool.1.gz -> /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 37 Apr  5 16:49 rmid -> /usr/lib64/jvm/jre-1.6.0-sun/bin/rmid
lrwxrwxrwx 1 root root 44 Apr  5 16:49 rmid.1.gz -> /usr/share/man/man1/rmid-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 44 Apr  5 16:49 rmiregistry -> /usr/lib64/jvm/jre-1.6.0-sun/bin/rmiregistry
lrwxrwxrwx 1 root root 51 Apr  5 16:49 rmiregistry.1.gz -> /usr/share/man/man1/rmiregistry-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 43 Apr  5 16:49 servertool -> /usr/lib64/jvm/jre-1.6.0-sun/bin/servertool
lrwxrwxrwx 1 root root 50 Apr  5 16:49 servertool.1.gz -> /usr/share/man/man1/servertool-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 42 Apr  5 16:49 tnameserv -> /usr/lib64/jvm/jre-1.6.0-sun/bin/tnameserv
lrwxrwxrwx 1 root root 49 Apr  5 16:49 tnameserv.1.gz -> /usr/share/man/man1/tnameserv-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 38 Mar 24 14:39 xml-commons-apis -> /usr/share/java/xerces-j2-xml-apis.jar

show us the command that produces the fatal error…

want to see the the command and the output–copy/paste both back to
this thread using the instructions here: http://goo.gl/i3wnr


CAVEAT: http://is.gd/bpoMD [NNTP via openSUSE 11.3 + KDE4.5.5 +
Thunderbird3.1.8] Can you believe it? This guy Ralph wins $181 million
in the lottery last Wednesday, and then finds the love of his life just
2 days later. Talk about LUCK!

There’s no command, it’s when I try to use a site that uses Java applets in Firefox. I’ve enabled logging and tracing in the java control panel thingy and here are the results:

The log file from ~/.java/deployment/log: <?xml version=“1.0” encoding=“UTF-8” standalone=“no”?> <!DOCTYPE log SYSTEM "lo - Pastebin.com](http://pastebin.com/L5pJKa6V)
The trace file from ~/.java/deployment/log: security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xm - Pastebin.com

On 04/07/2011 10:06 AM, tk83 wrote:
>
> Pastebin.com’ (http://pastebin.com/L5pJKa6V)
> Pastebin.com’ (http://pastebin.com/FV88fydk)
>

ok, this is far past my capability (and patience) to trouble shoot
(like you, i would have started with the java tests at Sun)…

have you tried using Java in Opera or Chrome? (maybe it is a FF4
problem…have you upgraded from the beta which shipped with 11.4, to
the non-beta version of FF4??

other than that i’m stumped…hopefully a real guru will happen by…

well, you might try using YaST, search on java and see if anything of
the openJDK remains…if it does right click to mark it to be removed,
and while there right click on the Sun java and set it to “update”
(which i think should be called “refresh”)…oh, and maybe you have more
than one version of Sun Java installed (that is possible if you
‘upgraded’ to 11.4, i think) if so remove all but the newest version…

i don’t think it likely to have an impact, but you might also try using
yast to add a new test user, then log out and log in as that new user
and see if java in FF works there…

but, it might be all of that will just serve to keep you busy while
waiting for the guru…i do not know what to do…


CAVEAT: http://is.gd/bpoMD [NNTP via openSUSE 11.3 + KDE4.5.5 +
Thunderbird3.1.8] Can you believe it? This guy Ralph wins $181 million
in the lottery last Wednesday, and then finds the love of his life just
2 days later. Talk about LUCK!

Thanks, have tried all that. In Chrome it can’t detect the Java plug-in.

Oh well, it might just be this particular ****** old Java applet - it’s a management interface for a fibre channel switch that hasn’t been updated in ages.
I still think Java web applets are a buggy mess that should be thrown out the window though :slight_smile: