[Tinyos-help] JNI Library not found, Lesson 4

Fahad Al-Jabarti fahad_301 at hotmail.com
Tue May 19 02:22:36 PDT 2009


Hi guys,,

 

 

I need ur help with this problem, when i try to run the command ( $ java TestSerial) i get this error, i've looked at the troubleshooting part of lesson 4 

 

but couldn't get it solved !

 

please if u have a solution to this issue, just explain it to me cuz I'm new to TinyOS..

 

and where i can find JNI Library ??

 

this is what i get:

 

Administrator at arabswell /opt/tinyos-2.x/apps/tests/testserial
$ java TestSerial
getenv JNI library not found. Env.getenv will not work
(run the tos-install-jni tool, see man tos-install-jni for more details)

sf at localhost:9002 died - exiting (java.net.ConnectException: Connection refused:
 connect)

 

Administrator at arabswell /opt/tinyos-2.x/apps/tests/testserial
$ tos-install-jni
Installing 32-bit Java JNI code in /cygdrive/c/Program Files/Java/jdk1.6.0_13/jr
e/bin ...
done.

 

Administrator at arabswell /opt/tinyos-2.x/apps/tests/testserial
$ java TestSerial -comm serial at COM6:telosb
The toscomm JNI library was not found.
Check that your tinyos-tools package is installed and try
rerunning tos-install-jni.
Aborting.

 

 

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090519/b9624d9b/attachment.htm 


More information about the Tinyos-help mailing list