Hi,

I'm using tinyos-2.x on Linux (gentoo). Everything works fine, except Serial
comm. I get the error that JNI library is not found, when it is clearly
there:

[EMAIL PROTECTED] /opt/ibm-java2-i386-50/jre/bin $ ls -l libtos*
-rwxr-xr-x 1 root root 89949 Jun 24 19:13 libtoscomm.so
The directory /opt/ibm-java2-i386-50/jre/bin is in my CLASSPATH and in the
PATH.

I have tried recompiling all the files in support/sdk/java but no luck.

Any help will be much appreciated.

Thanks
--kjs

p.s. below is the exact error:
java TestSerial -comm serial@/dev/ttyUSB0:telosb
The toscomm JNI library was not found.
Check that your tinyos-tools package is installed and try
rerunning tos-install-jni.
Aborting.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to