Hi Dridi, Try first to remove the single quote characters (`) when setting CLASSPATH in your first export i.e.
export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar Single quotes force the execution of the content between the 2 quotes as a command (tries to execute tinyos.jar in you case). Are you on Windows with Cygwin or on Linux ? **If on Cygwin** it could be a problem with slashes (/) and backslashes (\) in the path. Try with: export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` export CLASSPATH="$CLASSPATH;." This time WITH single quotes to force the execution of the cygpath command. If you don't succeed with these hints have a look here: http://docs.tinyos.net/index.php/Java_cygwin Common issues with Java are listed there. This wiki page is intended for TinyOS 2.x but should also give hints with TOS 1.x. By the way why do you start with TOS 1.x ? If you are not concerned with compatibility issues with old applications I would jump to the latest TinyOS 2.x. Kind regards Romain On Mon, Dec 13, 2010 at 2:24 PM, Dridi Hinda <[email protected]> wrote: > hello to all; > > in tinyos 1 , ihave configured my variables in the bash.bashrc as follow: > > export CLASSPATH=`$TOSROOT/support/sdk/java/tinyos.jar` > export CLASSPATH="$CLASSPATH;." > > export TOSROOT=/opt/tinyos-1.x > export TOSDIR=$TOSROOT/tos > export MAKERULES=$TOSROOT/support/make/Makerules > > but in the terminal i have the following warning: > CLASSPATH may not include '.' (that is the symbol for the current working > directory). Please add '.' to your CLASSPATH or you may experience > configurations problems. > > How can i solve this problem? > > > > > > _______________________________________________ > 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
