Hi, tos-install-jni uses tos-locate-jre to find the location of the JDK installation. What do you get if you execute "tos-locate-jre --jni"?
tos-locate-jre uses values from the windows registry. You should find the current version of the JDK under this key: \HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion The path to the JDK installation should then be in this registry key (replace '$jversion' with the value you found in the previous key. \HKLM\SOFTWARE\JavaSoft\Java Development Kit\'$jversion'\JavaHome If you can't find the above registry keys, you'll have to create them. Cheers, Urs PS to the TinyOS community at large: Maybe the tos-locate-jre tools needs to be updated to cope with new/different JDK versions on Windows? mejda chouaieb schrieb: > Hi, > When I type "tos-install-jni" : > 1/bin/java : not found > Java not found, not installing JNI code > > > > ----- Message d'origine ---- > De : Pedro Pinto <[EMAIL PROTECTED]> > À : mejda chouaieb <[EMAIL PROTECTED]> > Envoyé le : Lundi, 20 Août 2007, 15h10mn 25s > Objet : Re: [Tinyos-help] Exception in thread "main" !!!! > > hi, > > You need run this command: tos-install-jni > > see too System variables > > > On 8/20/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: > Hello all, > TinyOS version : upgraded from 1.x to 2.x > Hardware : 2 Tmote sky (Telosb) > System : Windows Media Center > I'm in lesson 4 of the TinyOS tutorials and when I type : > $ java net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:telos > EXception in thread "main" java.lang.NoClassDefFoundError: net/tinyos/Listen > > and when I type : > tos-locate-jre --jni > 1/bin/java : not found > > > I don't know what I have to do to resolve these problems.. > Thank you for Help. _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
