Hi Rafelia, This was the output I was looking for. It says that you have installed the TinyOS Java native libraries just fine and they are loading ok.
Now we have to figure out why it's not working when you try to run the TestSerial application. It could be that somehow there are different Java versions on your system and when you run the TestSerial application it uses a different JVM. What is the exact command you use when you try to run the TestSerial application? If you run the tosruntime.jar file by downloading it and then double-clicking it, can you run it from the command line (java -jar tosruntime.jar) to see whether it gives you a different result? Cheers, Urs On 03/30/2011 03:49 PM, Rafelia Tjandra wrote: > Hi Urs... > > Not too sure if you can read the jar file i´ve send you. > > In any case here are the details: > > *CLASSPATH: /opt/tinyos-2.x/support/sdk/java/tinyos.jar:. > > Operating System: Linux (i386) - 2.6.28-19-generic > > Java Version: 1.5.0_19 - Sun Microsystems Inc. > Installation base: /usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre > > Library search path: > /usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/../lib/i386:/usr/lib/firefox-3.6.11:/usr/lib/firefox-3.6.11/plugins:/usr/lib/firefox-3.6.11 > > Found path in JavaHome (medium confidence) > The recommended path for JNI library extensions is: > '/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386/client' > > Getenv found in > '/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386/libgetenv.so' > The getenv library is not in the recommeded location, but should load fine. > > Toscomm found in > '/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386/libtoscomm.so' > The toscomm library is not in the recommeded location, but should load fine. > WARNING: Path '/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/../lib/i386' does not > exist! > > Attempting to load the library 'getenv' via the normal mechanism. > Loading the library succeeded! > > Attempting to load the library 'toscomm' via the normal mechanism. > Loading the library succeeded! > > Attempting to load the library 'getenv' by extracting a resource from the > classpath. > Trying to locate the file 'linux_x86_getenv' in the classpath. > Temporary file created: '/tmp/getenv8492795690899431095.lib'. > Library copied successfully. Let's load it. > Library loaded successfully. > > Attempting to load the library 'toscomm' by extracting a resource from the > classpath. > Trying to locate the file 'linux_x86_toscomm' in the classpath. > Temporary file created: '/tmp/toscomm7561981583295872552.lib'. > Library copied successfully. Let's load it. > Library loaded successfully. > > > Cheers > Rafelia _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help