I didn't quite understand what tarun sharma said. But I tried to put my CLASSPATH to:
CLASSPATH="/home/user/tinyos-2.x/support/sdk/java/:.:/home/user/tinyos-2.x/support/sdk/java/tinyos.jar" and I still have the same error. Can someone please tell me in more detail, please. Cheers. CLASSPATH=/home/user/tinyos-2.x/support/sdk/java/:.:/home/user/tinyos-2.x/support/sdk/java/tinyos.jar and 2010/6/5 tarun sharma <[email protected]> > All java application are in a "package". If you do not pay head to the > package you'll get that error. Are you taking care of that while running? > > On Sat, Jun 5, 2010 at 3:46 PM, Walter Bishop <[email protected]>wrote: > >> Howdy, >> >> I'm new to tinyOS and so I started by reading the documentation archives >> and tried to compile programs for my micaz motes. >> >> In the part where i'm sending the information read by the motes to the pc >> i'm having the following error: >> >> Exception in thread "main" java.lang.NoClassDefFoundError: TestSerial >> Caused by: java.lang.ClassNotFoundException: TestSerial >> 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) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334) >> Could not find the main class: TestSerial. Program will exit. >> >> I've tried some of the solutions that i've all over the internet, but with >> no success, can someone, please, give me a hint? >> >> Thanks in advance. >> >> >> Cheers! >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
