Your class path is not set to include the directory that holds
vncviewer.jar.

Either include the classpath on the command line (-classpath
"PathList") or use the CLASSPATH environment variable. PathList is ":"
seperated list of directories on Unix and ";" seperated list on
Windows.

Note that in a browser, the vncviewer class is downloaded from the vnc
server.

Anthony
On Thu, 3 Jul 2003, unixadmin wrote:
> Subject: Java error - NoClassDefFoundError
> 
> I receive the same error on both my Windows and Linux boxes when I try to run 
> the java client by itself.  However, through a browser it works fine.
> 
> C:\>java vncviewer HOST 172.16.0.13 PORT 5903
> Exception in thread "main" java.lang.NoClassDefFoundError: vncviewer
> 
> [EMAIL PROTECTED] root]$ java vncviewer
> Exception in thread "main" java.lang.NoClassDefFoundError: vncviewer
> 
> What am I missing here?

--
Tony Jewell                             [EMAIL PROTECTED]
Cregganna Computer Consultants Ltd.     http://www.cregganna.com/
_______________________________________________
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