We have used 1.5 and 1.6 with TinyOS. We have no problems. I do not think your problem is Java version problem. I believe that you compile with different version and try to run with different version. Try following. 1) javac -version and also 2) java -version. They both should be exactly same. I will suggest that you go to your classpath and path and remove all the previous Java settings there. Then uninstall 1.6 Java completely. Finally, reinstall and set path/classpath properly.
best regards, Faisal Razvan Musaloiu-E. wrote: > Hi! > > On Wed, 22 Jul 2009, bouzayani walid wrote: > > >> Hello All. >> >> Whats the supported version of Java for Tinyos2.1 under Windows XP. >> >> I tried with Java 1.4.2-19 and Java 1.5.0-02 and Java 1.6 but obtain error >> of unsupported version when >> >> I use this command : java net.tinyos.tools.Listen >> > > If you are running the latest tinyos from CVS and you only want to see the > packets comming out the serial you can also use the tos-dump.py. :-) > > -- > Razvan ME > _______________________________________________ > 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
