[Tinyos-help] toscomm JNI library not found

Urs Hunkeler uhu at gmx.ch
Sun Jan 11 23:08:47 PST 2009


Hi Harry,

Attached is a small Java program that first prints the library search 
path and then tries to load the TOS native libraries. If it fails, you 
get a more detailed error message than with the TOS java libraries.

Hope this helps.

Cheers,
Urs


Harry Gao wrote:
> Hi all,
> 
> When I try to run SerialForwarder, I receive the following error:
> 
> The toscomm JNI library was not found.
> Check that your tinyos-tools package is installed and try
> rerunning tos-install-jni.
> Aborting.
> 
> And I when do run sudo tos-install-jni, I get
> Installing 32-bit Java JNI code in /usr/lib/i686 ...
> done.
> It seems that this is not the default directory, since when I run
> serialForwarder again, it still says that the package is not found. Any idea
> how I can let it find the correct directory?
> 
> Thanks!
> 
> Harry
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: LibTest.java
Url: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090112/632b46f9/attachment.txt 


More information about the Tinyos-help mailing list