On Wed, Jun 16, 2010 at 18:51, John <[email protected]> wrote:
> I'm trying to make the TestSerial program for micaz motes on tiny os
> 2.x but I keep receiving errors such as package net.tinyos.message
> does not exist and I thought I set my environment values correctly. Is
> it possible that something else is wrong. Thanks for any help.

Can you check the value of the CLASSPATH enviroment vvariable? From
the command line you can use the command
echo $CLASSPATH
If the classpath is not empty check if it points to a directory
containg class files or to a tinyos.jar file, if the CLASSPATH is
empty you should set it to the absulte path which points to the
tinyos.jar contained inside the tinyos installation folder, usually it
should be /opt/tinyos-2.1.1/support/sdk/java/tinyos.jar
you can use the command
export CLASSPATH="/opt/tinyos-2.1.1/support/sdk/java/tinyos.jar" for
setting the classpath

>
> --
> John
> _______________________________________________
> 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

Reply via email to