Hi List,

I have solved the problem.  As it turns out I was trying to compile the
java source with a Java 2 compiler (1.4.1).  This proved to be a very
frustrating experience as everything worked fine (no errors), but the
class could never be found by the browser.

After downloading an older version of the java compiler (1.1.8),
everything compiled fine and my .jar file worked perfectly.

Anyway, I just wanted to share my experience with the list in hopes that
it will save someone else the same frustration that I experienced.

Good day to all,

Leonard Leblanc

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Leonard Leblanc
Sent: Friday, February 06, 2004 11:19 AM
To: [EMAIL PROTECTED]
Subject: Java Recompile Problem

Hi List,

I have successfully setup realvnc on a linux server and everything is
working great.  I would however like to make some modifications to the
java applet viewer to remove some unnecessary features and improve the
look and feel.

I decompiled the .class files and simply changed the label for "VNC
Authentication". I then recompiled with the following steps:

# javac *.java
# jar cvf vncviewer.jar *.class

This all worked fine without any errors.  However, when I place them in
my classes directory that is served up by the mini http server, I get a
complaint about 'vncviewer: class not found' in my browser.

If I replace my recompiled versions with the original from the package,
everything works fine.

Any suggestions?

Leonard Leblanc
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to