This discussion is archived
0 Replies Latest reply: Nov 16, 2009 5:37 PM by 843810 RSS

Issues with properJavaRDP applet

843810 Newbie
Currently Being Moderated
Well, I am attempting to put together a new service that I'd like to use properJavaRDP http://properjavardp.sourceforge.net/ for. Here is what I want to do: I want a customer to be able to login to their account, click a button, and have properJavaRDP load. But alas, I can't get it to work! Here is what I have:

The page to load the applet:
<html>
<head>
<title>ProperJavaRDP</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h2>You may close this window when you are finished.</h2>
<applet code="net.propero.rdp.applet.RdpApplet.class"
codebase="<< CODEBASE >>"
archive="properJavaRDP-1.1.jar,log4j-java1.1.jar,properJavaRDP11-
1.1.jar,properJavaRDP12-1.1.jar,properJavaRDP13-1.1.jar,properJavaRDP14-1.1.jar,java-getopt-
1.0.11.jar"
width="640" height="480"
name="ProperJavaRDP" align="top">
<param name="code" value="net.propero.rdp.applet.RdpApplet.class">
<param name="codebase" value="<< CODEBASE >>">
<param name="archive" value="properJavaRDP-1.1.jar,log4j-java1.1.jar,properJavaRDP11-
1.1.jar,properJavaRDP12-1.1.jar,properJavaRDP13-1.1.jar,properJavaRDP14-1.1.jar">
<param name="cabbase" value="">
<param name="name" value="ProperJavaRDP">
<param name="width" value="640">
<param name="height" value="480">
<param name="align" value="top">
<param name="server" value="<< SERVER >>">
<param name="port" value="3389">
<param name="username" value="<< USERNAME >>">
<param name="password" value="<< PASSWORD >>">
<param name="bpp" value="24">
</applet>
</body>
</html>
{code}

(some info replaced with variables, like '<< PASSWORD >>')

I am using all the applets under the 1.1 release and log4j.

When I run this, I get this:



The details are:

-----------

Java Plug-in 1.6.0_17
Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings{censored}
-----
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>
-----

load: class net.propero.rdp.applet.RdpApplet.class not found.
java.lang.ClassNotFoundException: net.propero.rdp.applet.RdpApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: C:\Documents and Settings{censored}\My Documents{censored}{censored}\rdp\<< CODEBASE >>\net\propero\rdp\applet\RdpApplet\class.class (The filename, directory name, or volume label syntax is incorrect)
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.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
. 7 more
Exception: java.lang.ClassNotFoundException: net.propero.rdp.applet.RdpApplet.class

----------

{censored} = private information

It seems to not be finding the Java class file.

How do I fix this or is there a better (free) RDP applet that will do the same thing?