Hello Phil,

Yes, before I have reviewed the configuration of the TOS Environment to
indicate the Java's calsspath.



This is my tinos.sh:

a@a:/opt/tinyos-2.1.1$ cat tinyos.sh
#! /usr/bin/env bash
# Here we setup the environment
# variables needed by the tinyos
# make system

echo "Setting up for TinyOS 2.1.1"
export TOSROOT=
export TOSDIR=
export MAKERULES=

TOSROOT="/opt/tinyos-2.1.1"
TOSDIR="$TOSROOT/tos"
CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java:.
MAKERULES="$TOSROOT/support/make/Makerules"

export TOSROOT
export TOSDIR
export CLASSPATH
export MAKERULES


And this is part of my .bashrc

cat /home/a/.bashrc
...
#TinyOS
export TOSROOT=/opt/tinyos-2.1.1
export TOSDIR=$TOSROOT/tos
export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar
export MAKERULES=$TOSROOT/support/make/Makerules
export PATH=/opt/msp430/bin:$PATH
....


Thanks for you answer.

Alejandro.



> On Feb 14, 2011, at 2:56 AM, [email protected] wrote:
>
>> Good morning,
>>
>> I have problems when I try to make work the TestSerial (Lesson 4)
>>
>> I have the same error written in this link:
>>
>> https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-July/047030.html
>>
>> Please, would you tell me what is  the manner to solve it?
>>
>> Thanks a lot. Greetings,
>>
>> Alejandro Cama.
>
> You have a java classpath problem: Java cannot find the necessary files.
> It's not possible to say how to fix it without knowing lots of details
> about your setup; I'd suggest figuring out how classpath works and then it
> should be easy for you to solve yourself.
>
> Phil


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

Reply via email to