[Tinyos-help] Problem with Listen.java
Michael Schippling
schip at santafe.edu
Mon Oct 2 09:33:05 PDT 2006
Looks like you may not have installed the serial comm jar and library.
Usually I would say, find javax.comm
(I have it at: http://www.etantdonnes.com/TMP/javacomm20-win32.zip)
but this looks like it is using the new-improved TOS version TOSCommJNI.
I don't know where that is, but a quick google may help...
MS
Ajit Karthik Mylavarapu wrote:
> javac Listen.java is fine. However, I am having this problem with
> Listen.java:
>
> $ java net.tinyos.tools.Listen
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> NativeSerial_read
> at net.tinyos.comm.TOSCommJNI.NativeSerial_read(Native Method)
> at net.tinyos.comm.NativeSerial.read(NativeSerial.java:65)
> at net.tinyos.comm.TOSSerial$ReadThread.flush(TOSSerial.java:59)
> at net.tinyos.comm.TOSSerial.<init>(TOSSerial.java:177)
> at
> net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:
> 55)
> at net.tinyos.packet.StreamByteSource.open(StreamByteSource.java:51)
> at net.tinyos.packet.Packetizer.openSource(Packetizer.java:119)
> at net.tinyos.packet.AbstractSource.open(AbstractSource.java:74)
> at net.tinyos.packet.Packetizer.open(Packetizer.java:114)
> at net.tinyos.tools.Listen.main(Listen.java:64)
>
> I dont know why this is occuring. I am sure that the MOTECOM variable
> is set to the correct value. I am running on Cygwin under Windows XP.
>
> Any help will be greatly appreciated.
>
> Thank you,
> Ajit.
> _______________________________________________
> 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