So you need to do :
export $CLASSPATH="."

2009/8/12 absar hasan <[email protected]>

> yes i m using make file
>
>
> and  when i check thi tos-check-env
>
> following text appear on
> screen
>
>
> *r...@absar-ul-hasan-laptop:~# tos-check-env
> Path:
>     /usr/local/sbin
>     /usr/local/bin
>     /usr/sbin
>     /usr/bin
>     /sbin
>     /bin
>     /usr/X11R6/bin
>
> Classpath:
> --> WARNING: CLASSPATH environment variable doesn't exist.
> Your classpath should contain  and a pointer
> to the cwd (a dot)
>
>
> rpms:
>
>
> nesc:
>     /usr/bin/nescc
>     Version: nescc: 1.3.0
>
>
> perl:
>     /usr/bin/perl
>     Version: v5.8.8 built for i486-linux-gnu-thread-multi
>
> flex:
>
> bison:
>
> java:
>     /usr/bin/java
>     java version "1.5.0_19"
>
> graphviz:
>     /usr/bin/dot
>     dot - Graphviz version 2.16 (Fri Feb  8 12:52:03 UTC 2008)
>
> --> WARNING: The graphviz (dot) version found by tos-check-env is not 1.10.
> Please update your graphviz version if you'd like to use the nescdoc
> documentation generator.
>
>
> tos-check-env completed with errors:
>
> --> WARNING: CLASSPATH environment variable doesn't exist.
> Your classpath should contain  and a pointer
> to the cwd (a dot)
> --> WARNING: The graphviz (dot) version found by tos-check-env is not 1.10.
> Please update your graphviz version if you'd like to use the nescdoc
> documentation generator.*
>
>
>
>
>
> On Wed, Aug 12, 2009 at 2:54 AM, Rémi Villé <[email protected]> wrote:
>
>> 2009/8/12 absar hasan <[email protected]>
>>
>>> actually i face problem to make communication between
>>> PC and the telosB, i tried to test TestSerial
>>> application via tinyos2, and i installed it on the
>>> mote, after that in apps directory i type java
>>> Testserial as written in the tutorial
>>>
>>>
>>>
>>> (/opt/tinyos-2.x/apps$ java TestSerial), but got the
>>> following messages.
>>>
>>>  " Exception in thread "main"
>>> java.lang.NoClassDefFoundError: TestSerial"
>>>
>>> the java is installed properly, and i don't know how
>>>
>>>
>>>
>>> to fix this problem i need your help if you please.
>>>
>>> Best Regards.
>>> Ali Raza Anjum
>>>
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>> Did you use the makefile ? tos-check is ok? (maybe there's no "." in
>> classpath).
>>
>> PS : message with subject have better chance to be read
>>
>> Rémi
>>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to