Hi I am new to tinyos and running it on ubuntu. I am having problems with
the net.tinyos.tools.Listen. I need to check the data from a mote
I am getting the following error:

VPCEB23FM:/opt/tinyos-2.x/apps/BaseStation$ java net.tinyos.tools.Listen
-comm serial@/dev/tty/USB0; telosb

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:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: net.tinyos.tools.Listen. Program will exit.
telosb: command not found

when i use the 'make' command in opt/tinyos-2.x/support/sdk/java I get the
following errors:

failed to parse message file /opt/tinyos-2.x/tos/lib/printf/printf.h
make[3]: *** [PrintfMsg.java] Error 1
make[3]: Leaving directory
`/opt/tinyos-2.x/support/sdk/java/net/tinyos/tools'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net'
make: *** [subdirs] Error 2

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

Reply via email to