[Tinyos-help] duty cycle
Michael Schippling
schip at santafe.edu
Tue Dec 16 10:12:18 PST 2008
see: http://docs.tinyos.net/index.php/Java_cygwin
look for: PATH
MS
srikanth chitturi wrote:
>
>
> Hi All,
> I am installing tinyos-2.x.I have encountered a problem
> after installing.while i am compiling program through cygwin,it
> shows "java command" not found in line 19 of /usr/bin/nesc-wiring.I
> didn't understand what is it.any one please help me.
>
>
> I am installing like this,
> 1.jdk-6u11-windows-i586-p.exe
> 2.cygwin setup in C drive
> 3.installing rpm files in c:/cygwin/home/<administration or
> whatever>/rpm/
> 4.environment variables.
>
> 1. While running cygwin change directory to /etc/profile.d/
>
> 2. Create a new file named "tinyos.sh". You can use "nano" editor,
> it is similar as "pico" editor.
>
> 3. Add following lines in tinyos.sh file.
>
> TOSROOT=/opt/tinyos-2.x
>
> TOSDIR=$TOSROOT/tos
>
> MAKERULES=$TOSROOT/support/make/Makerules
>
> export TOSROOT
>
> export TOSDIR
>
> export MAKERULES
>
>
>
> 4. Use command "/chmod// a+x tinyos.sh"/
>
> 5. Use command "/dos2unix tinyos.sh/". It is just to make sure that
> file is in right format.
>
> 6. Restart the cygwin
>
> 7. In the windows CLASSPATH environment variable put
> "/C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.;"/ (do not
> forget to put the dot in the CLASSPATH as mentioned here)
>
>
> I didn't have nano or pico editor that's why i create text file and
> save as .sh file.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> 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
More information about the Tinyos-help
mailing list