Search back on this list for the last few weeks for my, other's,
posts about what needs to be setup in your Java Runtime Env in
order to execute any Java program that connects to a TOS basestation.

I run TOS-to-Java programs under Eclipse all the time. Once you have
your JRE setup right, "all you need to do" is add the TOS jar file
to your build path and set the MOTECOM envvar in the Run Configurations
panel for your program.

MS

syxu wrote:
> Spam detection software, running on the system 
> "mail.Millennium.Berkeley.EDU", has
> identified this incoming email as possible spam.  The original message
> has been attached to this so you can view it (if it isn't spam) or label
> similar future email.  If you have any questions, see
> the administrator of that system for details.
> 
> Content preview:  Hi all, My problem is about using Eclipse to develope a 
> TinyOS
>    project. In Eclipse, I write a GUI using Java. It calls an ILP solver, 
> Sat4j,
>    to create an output. Using this output, I send commands to sensor network.
>    [...] 
> 
> Content analysis details:   (4.3 points, 3.3 required)
> 
>  pts rule name              description
> ---- ---------------------- --------------------------------------------------
>  3.2 FH_DATE_PAST_20XX      The date is grossly in the future.
>  0.0 HTML_MESSAGE           BODY: HTML included in message
>  0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
>                             [score: 0.4300]
>  1.1 DNS_FROM_OPENWHOIS     RBL: Envelope sender listed in bl.open-whois.org.
> -0.0 AWL                    AWL: From: address is in the auto white-list
> 
> The original message was not completely plain text, and may be unsafe to
> open with some email clients; in particular, it may contain a virus,
> or confirm that your address can receive spam.  If you wish to view
> it, it may be safer to save it to a file and open it with an editor.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> Fwd: a problem with tinyos and eclipse
> From:
> syxu <s...@iastate.edu>
> Date:
> Thu, 20 May 2010 12:01:47 -0500
> To:
> tinyos-help@millennium.berkeley.edu
> 
> To:
> tinyos-help@millennium.berkeley.edu
> 
> 
> Hi all,
>  
> My problem is about using Eclipse to develope a TinyOS project.
>  
> In Eclipse, I write a GUI using Java. It calls an ILP solver, Sat4j, to 
> create an output.
> Using this output, I send commands to sensor network.
>  
> So how to connect Java GUI with the code written using TinyOS package in 
> Eclipse?
> Currently I add tinyos.jar into GUI's build path in Eclipse and copy the 
> ~Msg.java (created
> using Mig in TinyOS) to my GUI project. But the grammar is ok. But when 
> I run the project,
> it reports "getEnv JNI not found" and the project can not execute.
>  
> How to fix this problem?
>  
> And if this does not work, I have to move GUI to TinyOS and compile it 
> in TinyOS. Then when I
> run it, calling sat4j (ILP solver written in Java) reports execption. 
> Can I call a program installed outside
> of TinyOS?
>  
> Thanks a lot.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to