On Feb 13, 2008, at 6:20 PM, Hardik Mehta wrote:

hi,

I am trying to run an application for RSSISample on MicaZ motes using tinyos2.0. Although I am able to compile the mote, I am unable to check whether the application has been loaded properly on the mote. Whenever I try to check it using the .class file using the following command :

$ java RssiSample.class - comm [EMAIL PROTECTED]:10002

I receive the following error :
Exception in thread "main" java.lang. NoClassDefFoundError: RssiSample/class

Can anybody suggest me the correct command or the right manner to program micaZ motes to sample RSSI ?

As the error suggests, you have a bad class name. The class name is RssiSample, not RssiSample.class. This has nothing to do with the RssiSample; it's just standard Java naming.

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

Reply via email to