-
Webclient - Java ERROR
So i compiled my client into a .jar using Jar Maker Than i made a html with the code:
Code:
<html>
<title>EuroScape</title>
<center><applet name="app" width="765" height="503"
archive="C:\Users\Bob Jansen\Desktop\RichScape Client v4\RichScape Client v4\client java\EuroScape.jar" code="client">
</applet></center>
</html>
when i run the html i get a java error: the webpage shows up only its a grey box with a error icon when i click on it it shows me this:
Code:
----------------------------------------------------
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
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.plugin2.applet.Plugin2Manager.setupGrayBoxPainter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.access$400(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
exception: null.
java.lang.IllegalArgumentException: name
at sun.plugin2.applet.Applet2ClassLoader.addJar(Unknown Source)
at sun.plugin2.applet.Applet2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.IllegalArgumentException: name
How do i fix this?
-
You have to upload your jar file somewhere and then change
Code:
C:\Users\Bob Jansen\Desktop\RichScape Client v4\RichScape Client v4\client java\EuroScape.jar
to your link
-
Doesnt matter same error:
let me rejar my client
Now i get this:
[Only registered and activated users can see links. Click Here To Register...]
web client: [Only registered and activated users can see links. Click Here To Register...]