Is it possible that the mystery class file was compiled with a later version of Java? It's backward compatible but not forward... You might try recompiling the sdk/java directories with your 1.5...
MS Kevin Ong wrote: > Hi guys, are any of you encountering java compilation errors? > > History till date; > I have installed the java jdk 1.5 and everything else is working fine > except the java compilation issues. The program I am trying to run is > "TestSerial" from lesson4 in the /opt/tinyos-2.x/apps/tests folder. > > The Make error (for Telos platform) is as follows: > > Serial.java:39: cannot access MessageListener > bad class > file:C:\cygwin\opt\tinyos-2.x\support\sdk\java\net\tinyos\MessageListener.class > classfile contains wrong class: net.tinyos.message.MessageListener > > Any input from gurus is much appreciated. > > Regards > Stumped kevin5k > > ------------------------------------------------------------------------ > > Search. browse and book > <http://sg.rd.yahoo.com/spirit/fea/travel/*http://sg.travel.yahoo.com> > your hotels and flights through Yahoo! Travel > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Platform: WinXP/Cygwin TinyOS version: 1.x, Boomerang Programmer: MIB510 Device(s): Mica2, MicaZ, Tmote Sensor board: homebrew _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
