You should have gotten a properties file in your JRE when you
did the comm install, like this:
    C:\JAVA\jdk1.5.0_16\jre\lib\javax.comm.properties

If you don't have that -- in the right JRE, GOK which JRE things
will be installed to -- you can copy it out of:
     http://www.etantdonnes.com/TMP/javacomm20-win32.zip

MS

trilok i wrote:
> please help me,
> I have installed java in /opt/tinyOS-1.x/ but when I run the command ' 
> java net.tinyos.tools.Listen ' it throws following error
> 
> javax.comm:  Error loading javax.comm.properties!
> null
> 
> java.io.IOException: javax.comm: platform driver class name = null
>                      (Check 'driver' property in javax.comm.properties)
> 
>     at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244)
>     at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
>     at 
> net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:59)
>     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:77)
>     at net.tinyos.packet.Packetizer.open(Packetizer.java:114)
>     at net.tinyos.tools.Listen.main(Listen.java:54)
> Exception in thread "main" java.lang.UnsatisfiedLinkError: 
> com.sun.comm.SunrayInfo.isSessionActive()Z
>     at com.sun.comm.SunrayInfo.isSessionActive(Native Method)
>     at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155)
>     at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)
>     at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
>     at 
> net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:59)
>     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:77)
>     at net.tinyos.packet.Packetizer.open(Packetizer.java:114)
>     at net.tinyos.tools.Listen.main(Listen.java:54)
> 
>    Thanks.
> 
> ------------------------------------------------------------------------
> Videos Get the latest video streams on movies, Try it! 
> <http://video.msn.com/?mkt=en-in>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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