CLASSPATH is showing tinyos.jar. dwaraka@ubuntu:/$ echo $CLASSPATH :/opt/tinyos/support/sdk/java/tinyos.jar.
On Wed, Feb 8, 2012 at 4:29 PM, Eric Decker <[email protected]> wrote: > > looks like it can't find the tinyos.jar. > > Did you set CLASSPATH correctly? > > Did you follow the instruction in how to install? > http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1 > > I find http://docs.tinyos.net/tinywiki/index.php/Installing_from_SVN/GIT > easier > to follow. > > > > It talks about what CLASSPATH should be set to.... > $TOSROOT/support/sdk/java/tinyos.jar > > If you don't know how to set up an environment variable that is where you > should start. Basic unix shell stuff. > > > On Wed, Feb 8, 2012 at 1:52 AM, dwaraka nath <[email protected]>wrote: > >> Hi.. >> can anyone help me in rectifying these errors related with java. I tried >> to compile RadioCountToLeds. >> >> dwaraka@ubuntu:/opt/tinyos/apps/RadioCountToLeds$ make telosb >> mkdir -p build/telosb >> 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 data_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 >> dwaraka@ubuntu:/opt/tinyos/apps/RadioCountToLeds$ >> >> >> I have all the files in sub folders of java >> >> dwaraka@ubuntu:/opt/tinyos/support/sdk/java$ ls >> build.xml CVS Makefile Makefile.include net tinyos.jar >> dwaraka@ubuntu:/opt/tinyos/support/sdk/java$ >> >> >> Thanks in advance. >> >> -- >> Tulasi Dwarakanath.V >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > > > -- Tulasi Dwarakanath.V
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
