You did recompile BcastInject.java with javac, right?
Check for a newly dated BcastInject.class file and make
sure it is in the CLASSPATH that you are using. Also
make some kind of obvious change like printing a
debug statement, to make sure you get the right file.

Oh, and I just noticed that you have BcastInject.Java
with a upper-J. Even on windows this may be a problem,
make sure you use .java (all lower case).

MS

Hieu Tran wrote:
Dear all!
I have tried to do the exercise in the tutorial -lesson 7 (Injecting and broadcast packets) in that requires to add commandsthat will allow SimpleCmd turn the sound on-off. I try to add commands in SimpleCmd.nc, SimpleCmdM.nc, SimpleCmdMsg.h and BcastInject.Java. However, when running the simulation I discovered that the changed BcastInject.Java did not work as I expect (It seem unchanged). Please give me some help to solve this trouble? (How to have BcastInject.Java go into effect?) Many thanks!

------------------------------------------------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC <http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com> and save big.


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

_______________________________________________
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