T
thetechgeek
Guest
hey all,
I'm trying to get the java applet for a world in runescape and put it in a webpage so that I can get past a proxy blocking me.
here's my webpage code so far-
okayyy....
I have the loader-842480269.jar and loader-1121348408.cab files saved in the same directory as the webpage. Now, what's making me scratch my head is the error that the java console shows-
now, at the beginning it says "load: class loader.class not found."
the file loader.class is actually in the .cab file.
so, a little later, it says "Caused by: java.io.FileNotFoundException: C:\Users\Public\rsapplet\loader\class.class (The system cannot find the path specified)", well I've typed in the directory where that file should be on the actual runescape site, and i get a 404 error.
even later it says "java.lang.NoClassDefFoundError: a", and there is a file called a.class in the cab file. So, that's where I am right now...
I'll probably have to submit this to the java forums, too...
Thanks so much for help,
thetechgeek
I'm trying to get the java applet for a world in runescape and put it in a webpage so that I can get past a proxy blocking me.
here's my webpage code so far-
HTML:
<html>
<head>
<title>rs applet test</title>
</head>
<body>
<applet name=app width=765 height=503 archive=loader-842480269.jar code=loader.class mayscript>
<param name=cabbase value=loader-1121348408.cab>
<param name=worldid value=43>
<param name=members value=0>
<param name=modewhat value=0>
<param name=modewhere value=0>
<param name=lowmem value=0>
<param name=lang value=0>
<param name=plug value=0>
<param name=js value=1>
<param name=game value=0>
</applet>
</body>
</html>
I have the loader-842480269.jar and loader-1121348408.cab files saved in the same directory as the webpage. Now, what's making me scratch my head is the error that the java console shows-
Code:
load: class loader.class not found.
java.lang.ClassNotFoundException: loader.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)
Caused by: java.io.FileNotFoundException: C:\Users\Public\rsapplet\loader\class.class (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
java.lang.NoClassDefFoundError: a
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(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)
java.lang.NoClassDefFoundError: a
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(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)
the file loader.class is actually in the .cab file.
so, a little later, it says "Caused by: java.io.FileNotFoundException: C:\Users\Public\rsapplet\loader\class.class (The system cannot find the path specified)", well I've typed in the directory where that file should be on the actual runescape site, and i get a 404 error.
even later it says "java.lang.NoClassDefFoundError: a", and there is a file called a.class in the cab file. So, that's where I am right now...
I'll probably have to submit this to the java forums, too...
Thanks so much for help,
thetechgeek














