tos-check-env probably uses locate-jre to find the Java install,
and this seems to never work right. Search this list for advice.
But you can finnesse the errors for the most part:
First, follow the insturctions for the CLASSPATH warning and add the dot,
something like this:
export CLASSPATH="C:/cygwin/opt/moteiv/tools/java;."
Second, try "type java" on the command line and if it finds something
(that is not in windows32 if you are on MSWidows) you probably have the
installation right. If it doesn't then put the path to the java/bin
directory in you PATH variable, just like above except using colon ':'
as the separator.
Also see this and the rest of the FAQs:
http://docs.tinyos.net/index.php/Java_cygwin
MS
Patrick Brady wrote:
> hi folks,
> i need a bit of help with configuration. When i run the tos-check-env, i
> get the following errors:
>
> Warning: CLASSPATH may not include '.'(that is the symbol for the
> current working directory) Please add '.' to your CLASSPATH or you may
> experience configuration problems.
>
> Warning: The Java version found first by tos-check-env may not be
> version1.4 or version 1.5 one of which is required byTOS. Please ensure
> that the located Java version is 1.4 or 1.5.
>
> I've installed Java version 1.5 and changed the environment variable to
> point to version 1.5 but I'm still getting these errors.
> Any ideas???
>
> Thanks.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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