[Tinyos-help] How to compile MatlabControl.java
Michael Schippling
schip at santafe.edu
Tue Aug 1 16:49:36 PDT 2006
sorry I don't know about the .patch thing,
but to add to your CLASSPATH, assuming you are using Windows:
You can go through the
"My Computer-Properties-Advanced-Environment Variables"
menu and set it for your whole system.
Or under cygwin's bash shell:
Look for "export CLASSPATH" in
...cygwin\etc\profile
or in your home directory, something like:
...cygwin\home\[your-login]\.bash_profile
and add the jar name to the list like:
export CLASSPATH "x.jar;jmi.jar;..."
if you can't find an existing variable you can still add to it with:
export CLASSPATH "$CLASSPATH;jmi.jar"
Make sure you use the double-quotes around the whole path or the shell
will interpret the ';' as a command separator.
Use "man bash" in the cygwin shell to get a _huge_ explanation
of all the things the shell can do, like the above variable setting.
The above works for Linux, etal, as well,
as long as you can find the relevant files.
MS
jurin dan wrote:
>
>
> hi,
>
> i'm now learning how to use matlab with tinyos tools. i have
> matlab 7.0.0 R14
> currently i'm trying ti compile matlabcontrol.java
> according to the tutorial before proceeding, i must run
> MatlabControl-R13-R14.patch. so in tis directory :
> \TinyOS\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\matlab i type:
>
> patch MatlabControl-R13-R14.patch, and i didn't get any response
> from cygwin.
>
> did somebody know how to execute the patch and how to add jmi.jar
> file in my CLASSPATH environment variable?
>
> thx
>
> _________________________________________________________________
> Play Q6 for your chance to WIN great prizes.
> http://q6trivia.imagine-live.com/enca/landing
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list