Hmm, I haven't used cygwin in a while but I seem to remember that the path
separator needed to be backslashes ("\")?http://docs.tinyos.net/index.php/Java_cygwin says so too. -- Steve On Mon, Sep 8, 2008 at 1:27 PM, kwong michelle <[EMAIL PROTECTED]>wrote: > *I am trying to run RssiDemo in tinyos-2.x on Windows XP machine. When I > run "make" in the apps/tutorials/RssiDemo/java directory. I got this error > message:* > $ make > javac RssiDemo.java RssiMsg.java > make: javac: Command not found > make: *** [RssiDemo.class] Error 127 > > *When I run "C:/Program\ Files/Java/jdk1.6.0_07/bin/javac RssiDemo.java". > I got this error message:* > RssiDemo.java:40: package net.tinyos.message does not exist > import net.tinyos.message.*; > ^ > RssiDemo.java:44: cannot find symbol > symbol: class MessageListener > public class RssiDemo implements MessageListener { > ^ > RssiDemo.java:46: cannot find symbol > symbol : class MoteIF > location: class RssiDemo > private MoteIF moteIF; > ^ > RssiDemo.java:48: cannot find symbol > symbol : class MoteIF > location: class RssiDemo > public RssiDemo(MoteIF moteIF) { > ^ > RssiDemo.java:53: cannot find symbol > symbol : class Message > location: class RssiDemo > public void messageReceived(int to, Message message) { > ^ > .\RssiMsg.java:7: package net.tinyos.message does not exist > public class RssiMsg extends net.tinyos.message.Message { > ^ > .\RssiMsg.java:67: package net.tinyos.message does not exist > public RssiMsg(net.tinyos.message.Message msg, int base_offset) { > ^ > .\RssiMsg.java:76: package net.tinyos.message does not exist > public RssiMsg(net.tinyos.message.Message msg, int base_offset, int > data_len > gth) { > ^ > RssiDemo.java:87: cannot find symbol > symbol : class MoteIF > location: class RssiDemo > MoteIF mif = new MoteIF(phoenix); > ^ > RssiDemo.java:87: cannot find symbol > symbol : class MoteIF > location: class RssiDemo > MoteIF mif = new MoteIF(phoenix); > ^ > .\RssiMsg.java:18: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:24: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:33: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:42: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:51: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:60: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:69: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:78: cannot find symbol > symbol : method amTypeSet(int) > location: class RssiMsg > amTypeSet(AM_TYPE); > ^ > .\RssiMsg.java:134: cannot find symbol > symbol : method getSIntBEElement(int,int) > location: class RssiMsg > return (short)getSIntBEElement(offsetBits_rssi(), 16); > ^ > .\RssiMsg.java:141: cannot find symbol > symbol : method setSIntBEElement(int,int,short) > location: class RssiMsg > setSIntBEElement(offsetBits_rssi(), 16, value); > ^ > 20 errors > > *I searched some previous threads and it's said that this error is caused > by CLASSPATH setting. But I didn't know what's wrong with my CLASSPATH > setting. My classpath is:* > $ echo $CLASSPATH > C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar;. > > *Thanks for your help in advance.* > > Michelle > > _______________________________________________ > 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
