On 4/8/09 3:43 PM, [email protected] wrote: > My java version is: > $ java -version > java version "1.6.0_07" > Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153) > Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) > > > Thank you for any help or suggestions. > > Regards, > Samuele.
You're using Java 6, which is 64-bit on OS X. When you built libtoscomm.jnilib, it was almost certainly built as a 32-bit library. You can confirm this by running "file /Library/Java/Extensions/libtoscomm.jnilib" (if it says "Mach-O bundle i386", it's 32-bit). You can't use 32-bit JNI libraries with a 64-bit Java VM, so Java is completely ignoring it. The simplest fix is to make the 32-bit J2SE 5.0 VM the default by running Java Preferences and dragging it to the top of the list. Or, you could try to compile libtoscomm.jnilib as a 64-bit library. I'm not sure how to do that, though. Greg Hackmann _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
