[Tinyos-help] Can't compile TinyOS-2.x Java tools on Mac OS X (10.5.7)

Chris Custine chris.custine at gmail.com
Mon Jun 8 07:52:57 PDT 2009


I don't think you need to reinstall the tools when you change env vars but I
could be wrong.  Just out of curiosity, does the path net/tinyos/util even
exist under /support/sdk/java and does it include about 5 *.java files?

Chris
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Mon, Jun 8, 2009 at 4:52 AM, Andres Vahter <andres.vahter at gmail.com>wrote:

> I tried with: *export
> CLASSPATH=$TOSROOT/support/sdk/java/:$TOSROOT/support/sdk/java/tinyos.jar:.:$CLASSPATH
> *
> It won't work either. **
> *
> *
> *tos-check-env* shows:
>
> Classpath:
> /opt/tinyos-2.x/support/sdk/java/
> /opt/tinyos-2.x/support/sdk/java/tinyos.jar
>  .
>
> By the way do I have to do (step: *installing tinyos-2.x toolset *) every
> time I change env. variables or is it enough to try
> /opt/tinyos-2.x/support/sdk/java *make*?
>
>
> Andres Vahter
>
>
>
> On 08.06.2009, at 0:56, Chris Custine wrote:
>
> On Sun, Jun 7, 2009 at 12:04 PM, Andres Vahter <andres.vahter at gmail.com>wrote:
>
>> export
>> CLASSPATH=$TOSROOT/support/sdk/java/:$TOSROOT/support/sdk/java/tinyos.jar:.$CLASSPATH
>>
>
>
> I'm not sure if this is affecting your compilation, but it looks like there
> is a colon missing between tinyos.jar:. and $CLASSPATH.  So you are not
> getting . in your classpath with this env var.
>
> Not sure if this is the problem but worth a try.
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090608/1fc5e4b9/attachment.htm 


More information about the Tinyos-help mailing list