Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial

2012-04-06 Thread tifenn . rault
Hello everyone Thanks a lot to Michael, Varun, Janos, Andris and Prasanth for their quick responses. I finally get it.In fact, there were two problems. 1) My JNI files were not correctly installed. This was because : A) I had to modify the tos-install-jni file to change the uname and

[Tinyos-help] help lesson 4 - The java class is not found: TestSerial

2012-03-27 Thread tifenn . rault
Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial Communication. I successfully compiled and installed the TestSerial application on telosb mote. However, when I type in the TestSerial directory: java TestSerial I get: The java class is not found: TestSerial

Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial

2012-03-27 Thread Michael Schippling
I don't use TOS2 so I can't easily look it up, but it may be that you need to include the full package name on the command line which might be something like: java net.tinyos.tools.TestSerial Java wants the fully specified package name for all classes it uses, even if you are in the directory

Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial

2012-03-27 Thread Janos Sallai
Tifenn: Your classpath looks weird: .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java Java on windows expects that the elements of the classpath are separated with semicolons, not colons. The correct classpath should be:

Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial

2012-03-27 Thread Bíró , András
Hi, I think the windows CLASSPATH format is different: It uses ; (semicolon) instead of : (colon), and \ (backslash) instead of / (slash). Andris On Tue, Mar 27, 2012 at 4:35 PM, tifenn.ra...@etu.utc.fr wrote: Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial

Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial

2012-03-27 Thread Prasanth P
Hi, I have faced the same problem and solved. One thing is you might not have compiled your java files. Go inside /tinyos-x.x/support/sdk/java folder and give command make. If that itself is not working try following (a) Download java tar file from the Tiny OS CVS repository: