Hi Fahad,

I am facing the same problem, did you get it working?

Regards,

Thiago.



Fahad Al-Jabarti wrote:
> 
> 
> 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:
> 
>  
> 
> administra...@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)
> 
> s...@localhost:9002 died - exiting (java.net.ConnectException: Connection
> refused:
>  connect)
> 
>  
> 
> administra...@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.
> 
>  
> 
> administra...@arabswell /opt/tinyos-2.x/apps/tests/testserial
> $ java TestSerial -comm ser...@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/
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 

-- 
View this message in context: 
http://old.nabble.com/JNI-Library-not-found%2C-Lesson-4-tp23612654p26376916.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

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

Reply via email to