I think this is a symptom of not having /opt/tinyos-2.x/support/sdk/java
in your CLASSPATH. Or more to the point, since you are in that directory,
you need to have "." in the CP. Something like:

export CLASSPATH=".:[other dirs & jars]"

MS

Ryan Aures wrote:
Hello,
I am trying to run Listen in tinyos-2.x on a Windows 2000 machine. When I run 'make' in the support/sdk/java directory, I got a lot of errors, these are just the errors I get from trying to make the tools directory: ------------------------------------------------------------------------ [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> /opt/tinyos-2.x/support/sdk/java/net/tinyos/tools
$ make
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/tools
javac Listen.java
Listen.java:36: package net.tinyos.packet does not exist
import net.tinyos.packet.*;
^
Listen.java:37: package net.tinyos.util does not exist
import net.tinyos.util.*;
^
Listen.java:38: package net.tinyos.message does not exist
import net.tinyos.message.* ;
^
Listen.java:43: cannot find symbol
symbol  : class PacketSource
location: class net.tinyos.tools.Listen
        PacketSource reader;
        ^
Listen.java:53: cannot find symbol
symbol  : variable BuildSource
location: class net.tinyos.tools.Listen
          reader = BuildSource.makePacketSource();
                   ^
Listen.java:56: cannot find symbol
symbol  : variable BuildSource
location: class net.tinyos.tools.Listen
          reader = BuildSource.makePacketSource(source);
                   ^
Listen.java:64: cannot find symbol
symbol  : variable PrintStreamMessenger
location: class net.tinyos.tools.Listen
          reader.open(PrintStreamMessenger.err);
                      ^
Listen.java:67: cannot find symbol
symbol  : variable Dump
location: class net.tinyos.tools.Listen
            Dump.printPacket(System.out, packet);
            ^
8 errors
make: *** [Listen.class] Error 1
------------------------------------------------------------------------
I get similar "cannot find symbol" errors(more) when making java alone, and when I try to run java net.tinyos.tools.Listen I get: $ java net.tinyos.tools.Listen Exception in thread "main" java.lang.NoClassDefFoundError: net/tinyos/tools/Listen Can anyone help with this problem?
Thanks,
Ryan Aures
University of Rochester


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

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to