Hi~

I solved the problem. 

Janos Sallai helped me. (Thank you!)

 

I configured the environment variables as followings. 

 

# User dependent .bashrc file

export JAVA_HOME=/cygdrive/c/Program\ Files/Java/jdk1.6.0_07

export TOSROOT=/opt/tinyos-2.x

export TOSDIR=$TOSROOT/tos

export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`

export CLASSPATH2=`cygpath -w $TOSROOT/support/sdk/java`

export CLASSPATH="$CLASSPATH;.;$CLASSPATH2"

export MAKERULES=$TOSROOT/support/make/Makerules

export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin

 

Best regards

 

Soyoung

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adeel
Akhtar
Sent: Wednesday, October 15, 2008 3:19 AM
To: tinyos-help
Subject: [Tinyos-help] need java help

 

 

Hi All,

  i have configured tinyos 2.1 with cygwin.it is running all application
(nesc files) properly, also on hardware which is micaz mote,but java files
are not running when i compile any java file it shows lot of errors and not
getting any package or any class.i think it is not properly configured i
have also set the classpath variable but unable to run java files.i have
configures following path variables :

export TOSROOT=/opt/tinyos-2.x

export TOSDIR=$TOSROOT/tos

export
CLASSPATH=C:\tinyos\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.

export MAKERULES=$TOSROOT/support/make/Makerules


export PATH="C:\Program Files\Java\jdk1.6.0_05\bin:$PATH"


export
CLASSPATH="$CLASSPATH;.;c:/tinyos/cygwin/opt/tinyos-2.x/support/sdk/java/tin
yos.
jar"

i have posted this problem before but unable to solve the problem, can any
body help me out i am facing lot of problems....

 

 

Best Regards

Adeel

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to