Hi to all

although im able to compile and install TestSerial in a mote, im having 
problems compiling TestSerial java application,  i think Classpath is correct
export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar

but when compiling whith javac comand this is errors are shown

z...@ze-laptop:/opt/tinyos-2.1.0/apps/tests/TestSerial$ javac TestSerial.java
TestSerial.java:45: cannot find symbol
symbol  : class TestSerialMsg
location: class TestSerial
    this.moteIF.registerListener(new TestSerialMsg(), this);
                                     ^
TestSerial.java:50: cannot find symbol
symbol  : class TestSerialMsg
location: class TestSerial
    TestSerialMsg payload = new TestSerialMsg();
    ^
TestSerial.java:50: cannot find symbol
symbol  : class TestSerialMsg
location: class TestSerial
    TestSerialMsg payload = new TestSerialMsg();
                                ^
TestSerial.java:69: cannot find symbol
symbol  : class TestSerialMsg
location: class TestSerial
    TestSerialMsg msg = (TestSerialMsg)message;
    ^
TestSerial.java:69: cannot find symbol
symbol  : class TestSerialMsg
location: class TestSerial
    TestSerialMsg msg = (TestSerialMsg)message;
                         ^
5 errors

You have any idea wht to do ?
Another question, is this the reason why when i do "java TestSerial" the 
following happens?

Exception in thread "main" java.lang.NoClassDefFoundError: TestSerial
...
...

Im sorry to bring this question again but im still trying to solve and cant 
find what more to do!
Thanks to all

                                          
_________________________________________________________________
Acesse o Portal MSN do seu celular e se mantenha sempre atualizado. Clique aqui.
http://www.windowslive.com.br/celular/home.asp?utm_source=MSN_Hotmail&utm_medium=Tagline&utm_campaign=MobileServices200908
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to