Hi Himanshu,

Java does not find the TinyOS Java APIs on your system. Did you set the
classpath properly?

If you are using Windows, have a look at step 5 in the installation
instructions:
http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Manual_installation_on_your_host_OS_with_RPMs

Cheers,
Urs


Himanshu Shivam schrieb:
> Hello Everyone,
>  
> i tried to compile the application "RadioCountToLeds" using $ make micaz
> sim.
>  
> i got 13 errors showing from java .. please guide me to solve this..
> ----------------------------------------------------------------------------------------------------------------------------------
> $ make micaz sim
> mkdir -p simbuild/micaz
> javac RadioCountMsg.java
> RadioCountMsg.java:7: package net.tinyos.message does not exist
> public class RadioCountMsg extends net.tinyos.message.Message {
>                                                      ^
> RadioCountMsg.java:67: package net.tinyos.message does not exist
>     public RadioCountMsg(net.tinyos.message.Message msg, int base_offset) {
>                                            ^
> RadioCountMsg.java:76: package net.tinyos.message does not exist
>     public RadioCountMsg(net..tinyos.message.Message msg, int
> base_offset, int da
> ta_length) {
>                                            ^
> RadioCountMsg.java:18: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:24: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:33: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:42: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:51: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:60: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:69: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:78: cannot find symbol
> symbol  : method amTypeSet(int)
> location: class RadioCountMsg
>         amTypeSet(AM_TYPE);
>         ^
> RadioCountMsg.java:134: cannot find symbol
> symbol  : method getUIntBEElement(int,int)
> location: class RadioCountMsg
>         return (int)getUIntBEElement(offsetBits_counter(), 16);
>                     ^
> RadioCountMsg.java:141: cannot find symbol
> symbol  : method setUIntBEElement(int,int,int)
> location: class RadioCountMsg
>         setUIntBEElement(offsetBits_counter(), 16, value);
>         ^
> 13 errors
> make: *** [RadioCountMsg.class] Error 1
> ----------------------------------------------------------------------------------------------------------------------------------
>  
> With Regards
> Himanshu
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to