Iyad tumar wrote: > actually i face problem to make communication between > PC and the telosB, i tried to test TestSerial > application via tinyos2, and i installed it on the > mote, after that in apps directory i type java > Testserial as written in the tutorial > (/opt/tinyos-2.x/apps$ java TestSerial), but got the > following messages. > > " Exception in thread "main" > java.lang.NoClassDefFoundError: TestSerial" > > the java is installed properly, and i don't know how > to fix this problem i need your help if you please.
you have to go to the apps/tests/TestSerial directory, and make sure you have tinyos.jar in you classpath as well as the current directory. something like: export CLASSPATH=/opt/tinyos-2.0.1/.../tinyos.jar:. cd opt/tinyos-2.x/apps/tests/TestSerial java TestSerial Akos _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
