There is a text file at tools/java/net/tinyos/util/Env.INSTALL that explains how to install getenv.dll, which should help with that issue. For TinyOS 1.x, you do need to use Java 1.4, but Eclipse works just fine with that too. As far as your compilation problems, you could try recompiling all the Java code:
cd /opt/tinyos-1.x/tools/java make clean make - Ryan Stinnett > Date: Wed, 16 Aug 2006 14:06:29 +0300 > From: "Firat TARAKTAS" <[EMAIL PROTECTED]> > Subject: Re: [Tinyos-help] tinyViz running problems > To: "MINO GB" <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-9" > > Yes, i am using eclipse with TinyOs plug-in. First, we thougt that eclipse > requires java 1.5 and tinyos requires 1.4. We uninstalled 1.5 and install > eclipse and tinyos plugin. But it didn't run the example applications. When i > deal more with it, i faced a getenv.dll error. Then to another computer, we > installed tinyos directly from tinyos.net, but it didn't compile the files in > tools/java/net/tinyos/sim directory. > I almost searched every help-mail. But they did not get rid of my problem. > > > > ___________________________________________________ > Fýrat TARAKTAÞ > GENETLAB BÝLGÝ TEKNOLOJÝLERÝ A.Þ. > Kayýþdaðý Caddesi Kar Plaza D Blok Kat:3 34752 > Ýçerenköy / Ýstanbul > > Tel: +90 (216) 573 00 85 | 354 > Fax:+90 (216) 469 85 07 > > [EMAIL PROTECTED] > www.genetlab.com > > > > > > > ----- Original Message ----- > From: MINO GB > To: Firat TARAKTAS > Cc: Munaretto, Daniel ; [email protected] > Sent: Wednesday, August 16, 2006 1:45 PM > Subject: Re: [Tinyos-help] tinyViz running problems > > > Did you use TinyOsCygwinEnv in Eclipse? I installed tinyos directly from > tinyos.net and used TinyOS Wrapper in Eclipse. TinyViz will run well. I tried > run tinyViz with TinyOsCygwinEnv_1.0.0 and it cannot run. > > > On 8/16/06, Firat TARAKTAS <[EMAIL PROTECTED]> wrote: > When i compile in sim directory, i've got errors: > > [EMAIL PROTECTED] /opt/tinyos-1.x/tools/java/net/tinyos/sim > $ make > ... /opt/tinyos-1.x/tools/java/net/tinyos/sim > (cd msg; make) > make[1]: Entering directory > `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg' > javac *.java > ADCDataReadyEvent.java:9: cannot access net.tinyos.message.Message > bad class file: > c:\eclipse\plugins\TinyOsCygwinEnv_1.0.0\env\cygwin\opt\tinyos-1 > .x\tools\java\net\tinyos\message\Message.class > class file has wrong version 49.0, should be 48.0 > Please remove or make sure it appears in the correct subdirectory of the > classpa > th. > public class ADCDataReadyEvent extends net.tinyos.message.Message { > ^ > 1 error > make[1]: *** [DebugMsgEvent.class] Error 1 > make[1]: Leaving directory > `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg' > make: *** [msgs] Error 2 _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
