i got the follow java applet errors when I run this on my MBP
Java Plug-in 1.5.0
Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM User home directory = /Users/al74934
----------------------------------------------------
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 <n>
----------------------------------------------------
load: class hob.hltc.JHLTCap01.class not found.
java.lang.ClassNotFoundException: hob.hltc.JHLTCap01.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:712)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1794)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:641)
at sun.applet.AppletPanel.run(AppletPanel.java:320)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
... 9 more
Exception in thread "Thread-16" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError
(GrayBoxPainter.java:153)
at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1968)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:646)
at sun.applet.AppletPanel.run(AppletPanel.java:320)
at java.lang.Thread.run(Thread.java:613)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError
(GrayBoxPainter.java:153)
at sun.plugin.AppletViewer.showAppletStatus(AppletViewer.java:1898)
at sun.applet.AppletPanel.run(AppletPanel.java:365)
at java.lang.Thread.run(Thread.java:613)
Exception in thread "thread applet-hob.hltc.JHLTCap01.class"
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError
(GrayBoxPainter.java:153)
at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1968)
at sun.applet.AppletPanel.run(AppletPanel.java:529)
at java.lang.Thread.run(Thread.java:613)
(Tue Mar 21 08:48:41 HKT 2006)[Thread-12] Java Vendor: Apple Computer, Inc. Java Version: 1.5.0_05 (Tue Mar 21 08:48:41 HKT 2006)[Thread-12] Register applet: detectVM [panel0,0,0,0x0,invalid,layout=java.awt.FlowLayout]
when I run the same applet on my 12" Powerbook Rev.A with Java runtime 1.4.2, no issues.
my question is, does java applet run directly or under rosetta? I have tried both Java 1.4.2 and 1.5.x on MPB and got the same error.
Java Plug-in 1.5.0
Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM User home directory = /Users/al74934
----------------------------------------------------
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 <n>
----------------------------------------------------
load: class hob.hltc.JHLTCap01.class not found.
java.lang.ClassNotFoundException: hob.hltc.JHLTCap01.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:712)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1794)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:641)
at sun.applet.AppletPanel.run(AppletPanel.java:320)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
... 9 more
Exception in thread "Thread-16" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError
(GrayBoxPainter.java:153)
at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1968)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:646)
at sun.applet.AppletPanel.run(AppletPanel.java:320)
at java.lang.Thread.run(Thread.java:613)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError
(GrayBoxPainter.java:153)
at sun.plugin.AppletViewer.showAppletStatus(AppletViewer.java:1898)
at sun.applet.AppletPanel.run(AppletPanel.java:365)
at java.lang.Thread.run(Thread.java:613)
Exception in thread "thread applet-hob.hltc.JHLTCap01.class"
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError
(GrayBoxPainter.java:153)
at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1968)
at sun.applet.AppletPanel.run(AppletPanel.java:529)
at java.lang.Thread.run(Thread.java:613)
(Tue Mar 21 08:48:41 HKT 2006)[Thread-12] Java Vendor: Apple Computer, Inc. Java Version: 1.5.0_05 (Tue Mar 21 08:48:41 HKT 2006)[Thread-12] Register applet: detectVM [panel0,0,0,0x0,invalid,layout=java.awt.FlowLayout]
when I run the same applet on my 12" Powerbook Rev.A with Java runtime 1.4.2, no issues.
my question is, does java applet run directly or under rosetta? I have tried both Java 1.4.2 and 1.5.x on MPB and got the same error.