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://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/support/sdk/java/
  (b) Untar and keep it in /opt/tinyos-2.1.0/support/sdk instead of
existing java folder there.
  (c) Go inside the java folder in terminal and give "make" command.

This is how i solved the issue. May be this will help you.

On Tue, Mar 27, 2012 at 11:28 PM, Bíró, András <[email protected]>wrote:

> 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,  <[email protected]> wrote:
> >
> > 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
> >
> >
> > The current directory and the tinyos.jar are included in the CLASSPATH
> > as it points to:
> >
> .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java
> >
> > The TestSerial.class and TestSerialMsg.class were generated in the
> > TestSerial directory.
> >
> > I am using Cygwin on Windows 7.
> >
> > I hope someone can help me.
> > Thanks a lot in advance.
> > Tifenn
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Regards
Prasanth.P
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to