You've probably used backslashes '\' in the CLASSPATH setting,
which may-or-may-not work...but to use them you need to put the
whole string in quotes like this "a\b\c;d;." or the shell will
use the B-s's as escape chars. I usually convert everything to
the true-and-correct forward-slash '/' AND use the quotes...
MS


preeti k wrote:
Hello,
I 've installed tinyos2.x on cygwin. The Blink application runs fine but RadioCountToLeds doesn't. The reason is the javac path is not set. I looked into a thread that discusses this and set the path accordingly. And now when i say 'type javac' i get the correct path. But when i say 'printenv CLASSPATH' i get the following o/p
**********
C:tinyoscygwinopttinyos-2.xsupportsdkjavatinyos.jar
*************
ie the path without the slashes(/). I exported the classpath as given in the installation document(with cygpath -w etc etc)
Can anyone let me know how do i get this working?
Because of this i suppose (????) i get following errors when i compile RadioCountToLeds
**********
$ make micaz sim
mkdir -p build/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:67: RadioCountMsg(byte[],int) is already defined in RadioCoun
tMsg
    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) {
                                           ^
.................
****************
Can anyone please help me with this?
Thanks
-Preeti

------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to