Hi, > I followed the instructions step by step for TinyOS 2.0.1 installation > from the TinyOS website, after the installation I typed the command > (tos-check-env) and the result was: > > [..] > > java: > /usr/bin/java > > --> WARNING: The JAVA version found first by tos-check-env may not be > version 1.4 or version 1.5one of which is required by TOS. Please ensure > that the located > Java version is 1.4 or 1.5 > > [..] > > There is a warning that the java jdk version is incorrect with the > knowledge that I installed > (ibm-java2-i386-sdk-5.0-5.0.i386.rpm) It's just a warning. It could simply mean that for some reason tos-check-env cannot identify your java version, for instance because it is too new. It does not necessarily mean that your java version is not supported. I wouldn't worry about it except if you have difficulties to compile tinyos programs. What do you get if you type in a terminal "java -version"? If it says something like "Java version: 1.5.0" Then you should be fine.
> And when I reviewed the directory structure under tinyos-2.x I found > that it is incomplete: > > [EMAIL PROTECTED] root]# ls /opt/tinyos-2.x > README apps release-notes.txt support tos > > > Because I know that it should be (apps doc support tests tos README) It looks like you are missing the doc and the tests directory. I think the important directories are tos and support. The apps directory is quite handy if you want to have examples. Maybe you can get the other two directories if you install a special documentation rpm or so (I haven't used RPMs for my installation). Or you could get them through CVS. Most likely you won't need them. > Please I want to know what is wrong, why the directory structure is > incomplete and if the java rpm version is incorrect, please give me the > correct full name of the rpm and where I can download it. As far as I can tell your installation seems to be ok. Did you try to compile some examples? I would start with the Blink application in the apps directory (change into apps/Blink, then type "make micaz"). If you don't get any errors, you should be fine. Follow the tutorials: http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/ Cheers, Urs _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
