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
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:
http://tiny
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, wrote:
>
> Dear all,
>
> I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial
> Communicatio
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:
.;C:/cygwin/opt/tinyos-2.x/
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 tha
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