Apparently, you don't have the current directory on the classpath.


"The default class path is the current directory. Setting the CLASSPATH
variable or using the -classpath command-line option overrides that
default, so if you want to include the current directory in the search
path, you must include "." in the new settings."

Source:
<http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html>
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html



Janos





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ittipong
Khemapech
Sent: Monday, November 19, 2007 10:31 AM
To: tinyos-help
Subject: [Tinyos-help] TestSerial - Can't run java TestSerial



Dear all,

I successfully compiled and installed the TestSerial application on Tmote.
However, when I typed:

java TestSerial

I got:

Exception in thread "main" java.lang.NoClassDefFoundError: TestSerial

I was in the TestSerial directory when I ran the java command and the
CLASSPATH points to the tinyos.jar.

Thanks in advance for your help.

Best wishes,
Ittipong





No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.33 - Release Date: 11/15/2007
12:00 AM

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to