0

Hi All can you pleased help me how to resolve applet load fail
in IT link applet loading fine, but when i used same code and made a local setup while runnning applet is not loading
please see the stack trace and com.scand.jtree classes are exists under applet folder under webcontent

Java Plug-in 1.5.0_18
Using JRE version 1.5.0_18 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\xxx

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>

java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
at sun.plugin.AppletViewer.initApplet(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
load: class com.scand.jtree.TreeApplet.class not found.
java.lang.ClassNotFoundException: com.scand.jtree.TreeApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
load: class com.scand.jtree.TreeApplet.class not found.
java.lang.ClassNotFoundException: com.scand.jtree.TreeApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by NormR1
0

ava.net.MalformedURLException: unknown protocol: c

It looks like you are using a URL with an invalid protocol. Some valid protocols: http: ftp: file:

The c is probably from a path: c:/path/....

Add a valid protocol to the URL you are using.

class com.scand.jtree.TreeApplet.class not found.

Where is the class definition listed in the error message? The java program can not find it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.