Following the instructions at the bottom of the 2.0 installation page I set to the path of the tinyos.jar file:
export CLASSPATH=C:\tinyos\opt\tinyos-2.x\support\sdk\java\tinyos.jar; Gary -----Original Message----- From: Philip Levis [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 12:25 PM To: Comstock, Gary Cc: [email protected] Subject: Re: [Tinyos-help] tinyos-2.x java compile errors On Mar 14, 2006, at 8:07 AM, Comstock, Gary wrote: > I'm getting errors trying to compile any of the java in the > tinyos-2.x/support/sdk/java/net/tinyos sub directories. Example: > since > message is dependant on util I decided to try and compile just util. > Also it doesn't seem to matter if I compile from the util or the java > directory, I still get the same error. Any help is greatly > appreciated. > > $ make > ... /opt/tinyos-2.x/support/sdk/java/net/tinyos/util > javac PrintStreamMessenger.java > PrintStreamMessenger.java:35: cannot find symbol > symbol: class Messenger > public class PrintStreamMessenger implements Messenger { > ^ > 1 error > make: *** [PrintStreamMessenger.class] Error 1 What's your CLASSPATH environment variable? It looks like Java can't find tinyos-2.x/support/sdk/java. Phil _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
