I'm not familiar with Windows Vista. I had a similar problem on Windows
XP. It turned out that my JDK didn't set the registry keys the way
TinyOS expected them.

To see whether TinyOS finds the JDK, you can try the command:
tos-locate-jre --jni

tos-locate-jre tries to read the following two registry keys:
\HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion
\HKLM\SOFTWARE\JavaSoft\Java Development Kit\'$jversion'\JavaHome
where '$jversion' is the value from the first registry key. I just set
up these registry keys and everything worked fine. My guess is that in
your case the first registry key should have the value "1.5.0" and the
second:
\HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.5.0\JavaHome =
"c:\JAVA\jdk1.5.0_11"

Cheers,
Urs

If you look at the sources of tos-locate-jre, you should
Daniel M. Havey schrieb:
> This is correct?
> 
> PATH=/cygdrive/c/JAVA/jdk1.5.0_11/bin:/cygdrive/c/JAVA/jdk1.5.0_11/jre/bin:/usr/
> local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/JAVA/jdk1.5.0_11/bin:/cygdriv
> e/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygd
> rive/c/Program
> Files/QuickTime/QTSystem/:/cygdrive/c/Program Files/SSH
> Communica
> tions Security/SSH Secure Shell
> JAVA_HOME=/cygdrive/c/JAVA/jdk1.5.0_11
> JDKROOT=/cygdrive/c/JAVA/jdk1.5.0_11
> CLASSPATH=c:\JAVA\jdk1.5.0_11;.
> 
> Still doesn't work :(
> 
>> >From the installation instructions I think that the
> tinytools rpm uses the path.  I say this because the
> instructions ask me to install the rpm before they ask me
> to set the CLASSPATH etc.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to