Hi list,
I have ffox 2, jdk1.5 and .16 installed and working ok for other programs.

I have the 1.5 plugin loaded and recognised OK in aboutlugins:
[betom@ayiin] [Fri Nov 9 10:41:19 2007]
/usr/local/lib/browser_plugins
$ sudo ln -s /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so

When I try to load Sun's applet test ( http://www.java.com/en/download/help/testvm.xml ) , but I get this in the java console , and the applet doesn't load :

Java Plug-in 1.5.0_13
Using JRE version 1.5.0_13-p7 Java HotSpot(TM) Client VM
User home directory = /home/betom


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------

load: class testvmDynamicJavaCom.class not found.
java.lang.ClassNotFoundException: testvmDynamicJavaCom.class
at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.applet.AppletClassLoader.loadClass(AppletClass Loader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at sun.applet.AppletClassLoader.loadCode(AppletClassL oader.java:599)
at sun.applet.AppletPanel.createApplet(AppletPanel.ja va:723)
at sun.plugin.AppletViewer.createApplet(AppletViewer. java:1815)
at sun.applet.AppletPanel.runLoader(AppletPanel.java: 652)
at sun.applet.AppletPanel.run(AppletPanel.java:326)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassL oader.java:271)
at sun.applet.AppletClassLoader.access$100(AppletClas sLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoad er.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:155)
... 9 more

-----------------------------

I tested it with JAVA_HOME unset (my default) and with JAVA_HOME set to /usr/local/jdk.1.5.0/, with JAVA_VERSION set and unset.

When I try another applet, randomly on the web ( http://www.java.com/en/download/help/testvm.xml ) , i get the following too

Java Plug-in 1.5.0_13
Using JRE version 1.5.0_13-p7 Java HotSpot(TM) Client VM
User home directory = /home/betom


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------

load: class testvmDynamicJavaCom.class not found.
java.lang.ClassNotFoundException: testvmDynamicJavaCom.class
at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.applet.AppletClassLoader.loadClass(AppletClass Loader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at sun.applet.AppletClassLoader.loadCode(AppletClassL oader.java:599)
at sun.applet.AppletPanel.createApplet(AppletPanel.ja va:723)
at sun.plugin.AppletViewer.createApplet(AppletViewer. java:1815)
at sun.applet.AppletPanel.runLoader(AppletPanel.java: 652)
at sun.applet.AppletPanel.run(AppletPanel.java:326)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassL oader.java:271)
at sun.applet.AppletClassLoader.access$100(AppletClas sLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoad er.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:155)
... 9 more
load: class ping2.class not found.
java.lang.ClassNotFoundException: ping2.class
at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.applet.AppletClassLoader.loadClass(AppletClass Loader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at sun.applet.AppletClassLoader.loadCode(AppletClassL oader.java:599)
at sun.applet.AppletPanel.createApplet(AppletPanel.ja va:723)
at sun.plugin.AppletViewer.createApplet(AppletViewer. java:1815)
at sun.applet.AppletPanel.runLoader(AppletPanel.java: 652)
at sun.applet.AppletPanel.run(AppletPanel.java:326)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassL oader.java:271)
at sun.applet.AppletClassLoader.access$100(AppletClas sLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoad er.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:155)
... 9 more

--------------------------------

If i load the 1.6 plugin instead, i get the same result, BUT ffox locks up , using over 60% CPU non stop. FFox stops refreshing its window , and I have to kill it.

The environment is the same on 6.2 (eg, no lib paths defined,etc), but never had this problem... Any pointers?

( I reiterate, Eclipse, freemind, yed, Lucene's Luke analyzer, and others work just fine)

thanks,
B
_________________________
{Beto|Norberto|Numard} Meijome

Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir in the rest. Hope it doesn't stink.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"