[Tinyos-help] tos-check-env error

Murray, Ben Ben.Murray at thalesgroup.com
Mon Feb 25 10:29:43 PST 2008

reply-all now...just in case it's useful!:

the dot makes the prog. look at "the directory I am in right now" and it
should really be added to your CLASSPATH as a step in itself, not as a
standalone step:
export CLASSPATH="C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar"

I use the following in a .bashrc file at cygwin startup:
echo "Running Setup for TinyOS 2.x"
export TOSROOT=/opt/tinyos-2.x
export TOSDIR=$TOSROOT/tos
export CLASSPATH="C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar"
export MAKERULES=$TOSROOT/support/make/Makerules
You can make cygwin output your variables like so:
If I type $PATH or $CLASSPATH I get these outputs:
/c/Program: No such file or directory
bash: C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.: command not

-----Original Message-----
From: tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu]On Behalf Of Ari Chinna
Sent: 25 February 2008 18:02
To: tinyos-help at millennium.berkeley.edu
Subject: [Tinyos-help] tos-check-env error

Hi i am a beginner to tinyos. I have installed tinyos-2.x and cygwin and
their directories are.
cygwin- "c:/cygwin..."
java- "c:/programfiles/java/jdk1.5.0_14..."
i linked them with this command in cygwin bash shell
"ln -s /cygdrive/c/program files/java/jdk1.5.0_14/bin/javac /bin/javac"
CLASSPATH variable i have also created
"C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.;"  Other variables i
stored in a shell file - tinyos.sh
when i type $ tos-check-env
i get the following warnings
WARNING: No java in current path
WARNING: No dot in current path
WARNING: tos-check-env could not find the 'dot' executable.
I have installed Graphviz-win v2.16 too. Kindly help. What is with the
current path. I am struggling for days to overcome this problem. How can i
check the current PATH? How can i check whether my installation is perfect.
Please help. Your response is welcome.
What is that dot in current path?



Please consider the environment before printing this email.
This email and any files transmitted with it are intended solely for the use of
the individual or entity to whom they are addressed and may not be divulged to
any third party without the express permission of the originator.  Any views
expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thales Research & Technology
(UK) Limited.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080225/68414260/attachment.html

More information about the Tinyos-help mailing list