Um.. I think you should go back and read Paul's reply. He pointed out something. Have you modified the java app?
Ittipong 2008/5/3 Maria Taramigkou <[EMAIL PROTECTED]>: > I still get the following error: > > *XListen.java:69: non-static method > printPacket(java.io.PrintStream,byte[]) canno > t be referenced from a static context > XDump.printPacket(System.out, packet); > * > ^ > > How can I resolve it? > * > * > > > 2008/5/3, Ittipong Khemapech <[EMAIL PROTECTED]>: > > > > I think you may use export command, like: > > > > export > > CLASSPATH="$CLASSPATH;/cygdrive/c/cygwin/support/sdk/java/tinyos.jar;." > > > > each time you start the cygwin. (I assume that you're using Windows XP + > > cygwin) > > > > Hope this helps. > > Ittipong > > > > 2008/5/3 Maria Taramigkou <[EMAIL PROTECTED]>: > > > > > > > > > > > My CLASSPATH is > > > .;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib; > > > at the time.... > > > > > > > > > > > > > > > 2008/5/3, Ittipong Khemapech <[EMAIL PROTECTED]>: > > > > > > > > I think Paul meant that you should not modify any codes in the > > > > original TinyOS tree. What is your CLASSPATH? > > > > > > > > Ittipong > > > > > > > > 2008/5/3 Maria Taramigkou <[EMAIL PROTECTED]>: > > > > > > > > > Because I am newbie could you please explain what do ou mean by > > > > > that : > > > > > "I would LEAVE THE STANDARD CODE ALONE and add the pre-built JAR > > > > > to > > > > > your classpath.?" > > > > > > > > > > > > > > > 2008/5/3, Paul Stickney <[EMAIL PROTECTED]>: > > > > > > > > > > > > Start with the simple: > > > > > > > > > > > > "MsgReader.java:50: package net.tinyos.message does not exist" > > > > > > > > > > > > Your classpath is wrong, it can't find the given package. > > > > > > I would LEAVE THE STANDARD CODE ALONE and add the pre-built JAR > > > > > > to > > > > > > your classpath. > > > > > > > > > > > > As far as the other problem, > > > > > > > > > > > > XListen.java:69: cannot resolve symbol > > > > > > symbol : variable XDump > > > > > > location: class net.tinyos.tools.XListen > > > > > > xlisten.XDump.printPacket(System.out, packet); > > > > > > > > > > > > ^--- XDump is not a variable in this context (maybe you wanted a > > > > > > method call?) > > > > > > > > > > > > I would strongly urge you NOT to modify things inside the > > > > > > distribution > > > > > > hierarchy, copy a fork out and modify externally. > > > > > > > > > > > > Paul > > > > > > _______________________________________________ > > > > > > 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 > > > > > > > > > > > > > > > > > > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
