The TinyOS wiki is very clear about this. If all else fails, you can always define the environment variables in Contro Panel -> System Properties -> Advanced -> Environment Variables.
On 29 July 2010 00:17, H S <[email protected]> wrote: > Hey, > > I don't see much change in your command then what i am puting in > .bash_profile > > And so if i use your command, there is no change in my error state.. > > Surprisingly if i run my command manually in cygwin, the error of this > classpath goes off.. > > I do not understand why it comes if put same command in .bash_profile > > I m putting in .bash_profile file under home directory > is that right file? > > Any help ?????? > > Thanks > HS > > > --- On *Wed, 28/7/10, Supriyo Chatterjea <[email protected]>* wrote: > > > From: Supriyo Chatterjea <[email protected]> > Subject: RE: [Tinyos-help] tinyos 2.x environment in cygwin > To: [email protected], [email protected] > Date: Wednesday, 28 July, 2010, 7:06 PM > > > This might reduce some of the errors you have: > > echo "TINYOS 2.x" > #TINYOS 2.x > #Defines the TOSROOT variable necessary for the rest of the variables > export TOSROOT=/opt/tinyos-2.x > #Defines TOSDIR > export TOSDIR=$TOSROOT/tos > #Defines the paths to various system tools > > PATH=/cygdrive/c/Programmi/Java/jdk1.6.0_06/bin:/opt/jflashmm/:/bin:/opt/tinyos-2.x/tools/tinyos/misc:/cygdrive/c/Programmi/Graphviz/bin:${PATH} > #Defines the classpath > export CLASSPATH="c:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;." > export MAKERULES=$TOSROOT/support/make/Makerules > > > Place it in ".bash_profile". > > I'm not sure if the Java comment is valid, since those warning msgs are for > older versions (?) > > Supriyo > > ------------------------------ > Date: Wed, 28 Jul 2010 06:24:11 -0700 > From: [email protected] > To: [email protected] > Subject: [Tinyos-help] tinyos 2.x environment in cygwin > > hello Everyone, > > I am still unable to fix my *tinyos environment in cygwin*.. > > Command i used to fix it > ------------------------------------------------- > export TOSROOT=/opt/tinyos-2.x > export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` > export CLASSPATH="$CLASSPATH;." > export MAKERULES=$TOSROOT/support/make/Makerules > export TOSDIR=$TOSROOT/tos > type java >/dev/null 2>/dev/null || PATH=`/usr/bin/tos-locate-jre > --java`:$PATH > type javac >/dev/null 2>/dev/null || PATH=`/usr/bin/tos-locate-jre > --javac`:$PATH > echo $PATH | grep -q /usr/local/bin || PATH=/usr/local/bin:$PATH > ------------------------------------------------ > > I put these in .bash_profile once, but no success then in .bashrc but still > get the error like this classpath > ---------------------------------------------- > --> WARNING: CLASSPATH may not include '.' (that is, the symbol for the > current > working directory). Please add '.' to your CLASSPATH or you may experience > conf > iguration problems. > --> 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 > Depending on your PATH environment variable, there is often another > version of > java.exe in c:\windows\system32 that is "seen" first. Check that this is > version > 1.4 or 1.5 or reconfigure your PATH environment variable if this is the > case. > --> WARNING: The graphviz (dot) version found by tos-check-env is not 1.10. > Plea > se update your graphviz version if you'd like to use the nescdoc > documentation g > enerator. > ------------------------------------------------------------ > > I don't understand well how to fix my environment > > Anyone who is using tinyos with cygwin and fixed it .. plese share the > solution > > Thanks > HS > > > > ------------------------------ > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up > now. <https://signup.live.com/signup.aspx?id=60969> > > > > _______________________________________________ > 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
