hengly, I think this occurs when there is a failure to load a .dll file, specifically the "toscomm.dll" (e.g. probably occurred when you tried to run the Listen or SerialForwarder application). Search for this file on your computer; you should find a copy of this file in at least two folders (e.g. C:\Program Files\UCB\cygwin\lib\tinyos and C:\Program Files\UCB\jkd1.5.0_14\jre\bin). Just add the first path to your PATH environment variable.
> Message: 5 > Date: Tue, 20 Nov 2007 21:59:01 +0800 > From: hengly <[EMAIL PROTECTED]> > Subject: [Tinyos-help] cannot find JNI error > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Dear all, > > I'm using tinyos 2.0.2 + cygwin in windows xp sp2. I encountered the > 'cannot > find JNI error' when follwing Lesson 4. > > I run the command 'tos-install-jni', the following returned: > > $ tos-install-jni > [: ==: unknown operand > Installing 32-bit Java JNI code in /cygdrive/c/Program > Files/Java/jdk1.5.0_14/jre/bin ... > install: cannot stat `/usr/lib/tinyos/*-32.dll': No such file or directory > what's wrong? > > Many thanks in advance. > > -- > hengly _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
