If you have problems with the JNI, search the archives with the words "JNI
error".

Hope this helps.
Ittipong

On 15/04/2008, Bhavish Aggarwal <[EMAIL PROTECTED]> wrote:
>
> I searched and found TOSComm.dll in my jre/bin directory. I copied the
> same to system32 directory but it still gives the same error.
>
> Is some classpath variable corrupted?
>
> Bhavish
>
> On Tue, Apr 15, 2008 at 11:00 PM, Michael Schippling <[EMAIL PROTECTED]>
> wrote:
> > Off hand I don't know the name of the TOSComm library,
> >  but that's what's not being found. A little searching
> >  should turn up that name, and then you should try to
> >  find it on your system. It should either be in system32
> >  or in your JRE/bin directory.
> >
> >  I guess you don't hear success stories, but in general
> >  I've never heard that tos-install-jni has worked...
> >
> >  MS
> >
> >  Bhavish Aggarwal wrote:
> >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I am using boomerang on windows. I had been using the java serial-pc
> > > connection perfectly well and transferring packets to and fro. But I
> > > modified the Packetizer.java a little and did a make clean and make in
> > > the packet/ directory. I also recompiled the Packetizer.java file.
> > > After this, I'm not able to send any packets on the serial link and I
> > > get an error saying:
> > >
> > > Error on [EMAIL PROTECTED]:57600: java.io.IOException: Could not open
> > > COM14: TOSComm JNI library runtime error: Error 2.
> > > The system cannot find the file specified.
> > > in NativeSerialPort.CreateFile
> > >
> > > I'm simply running the net.tinyos.tools.Listen app and exporting the
> > > MOTECOM variable properly. The changes in Packetizer.java were not
> > > significant and I tried to undo them but the problem still persists.
> > >
> > > I even tried running the tos-install-jni as mentioned in a previous
> > > post. But that didn't help either. I'd be thankful for any pointers.
> > >
> > > Thanks,
> > >
> > > Bhavish
> > > _______________________________________________
> > > Tinyos-help mailing list
> > > [email protected]
> > >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > >
> >
> >  --
> >  Platform: WinXP/Cygwin
> >  TinyOS version: 1.x, Boomerang
> >  Programmer: MIB510
> >  Device(s): Mica2, MicaZ, Tmote
> >  Sensor board: homebrew
> >
> >
> _______________________________________________
> 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

Reply via email to