Re: [Tinyos-help] question about dual platform java CLASSPATH

2010-06-09 Thread Ali Baharev
Hi, I failed to understand everything you write but here is a way to set your CLASSPATH. Type the following command and hit enter CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar:. Now check its effect: echo $CLASSPATH It should print the above directories. As long as you have

Re: [Tinyos-help] question about dual platform java CLASSPATH

2010-06-09 Thread Michael Schippling
I think the problem is in your TOS* variables. I have them set like this: vincent:schip [207] echo $TOSDIR /opt/tinyos-1.1.7/tos vincent:schip [208] echo $TOSROOT C:/cygwin/opt/tinyos-1.1.7 Because the /opt/... syntax is only relevant to programs which use the cygwin dll. Java does not, so it is

[Tinyos-help] question about dual platform java CLASSPATH

2010-06-08 Thread Elong Jin
Hi all, (i'm sorry about the length of this email) I have been confused by the setting of CLASSPATH for days. I have tos1 and tos2 installed according to http://www.5secondfuse.com/tinyos/install.html Now i'm trying to use TOSBase to listen to the serial port, here's what happened: * * *1. when