It needs to be in JRE/lib Probably the one under the JDK directory you show, but you need to verify what jre you use when you run. CLASSPATH has nothing to do with finding the jre properties.
Also make sure you have installed a Linux javax.comm version. MS trilok i wrote: > sir i was working in LinuxOS and I have javax.comm.properties file in > /opt/jdk1.6.0_10/lib/ aslo I set classpath , but still it is throwing > errors. > > Thank You > > > Date: Tue, 16 Jun 2009 10:24:49 -0600 > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Subject: Re: [Tinyos-help] need help in installing java comm api > > > > 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 > > ------------------------------------------------------------------------ > MSN Battles We pitch one stalwart against the other and give you the > power. Who will you vote for? Share photos while you chat with Windows > Live Messenger. <http://battles.in.msn.com/> _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
