[Tinyos-help] Mote-PC serial communication and SerialForwarder
Andrew C. Jung
cjung1021 at gmail.com
Thu Feb 5 15:50:13 PST 2009
Hello... I am new to use TinyOS. I am following the lesson4 which is
"Mote-PC serial communication and SerialForwarder". TinyOS 2.0.2 is
installed on ubuntu 8.10. system and I am working with Mica2. when I type "
$ java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:mica2", I got
following errors:
**************************************
java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:mica2
Exception in thread "main" java.lang.NoClassDefFoundError:
net/tinyos/tools/Listen
Caused by: java.lang.ClassNotFoundException: net.tinyos.tools.Listen
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: net.tinyos.tools.Listen. Program will exit.
*******************************************
Also, I couldn't install TestSerial application on a mote.
If anyone knows how to fix it, please help me.
Sincerely,
Andrew C. Jung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090205/810de211/attachment-0001.htm
More information about the Tinyos-help
mailing list