I have the following configuration (using the Sun library). I have
moved to openSuSe 11.1, but if I remember well, the configuration was
the same in 10.3:

 libLinuxSerialParallel.so is located in /usr/lib/jvm/java/jre/lib/
i386
 comm.jar is in /usr/lib/jvm/java/jre/lib/ext

I am using a bluetooth phone, so I have the following in /usr/lib/jvm/
java/jre/lib/javax.comm.properties
You should adjust for your usb port.

serpath0 = /dev/rfcomm0
#serpath1 = /dev/ttyS1

On Oct 27, 12:13 pm, Pietro <[email protected]> wrote:
> I think the sun library (LinuxSerialParallel) must to be in /usr/lib
> directory, that is the problem, if the problem persist, put it in /lib
> directory.
>
> HTH
>
> On Oct 28, 2:51 am, Simon <[email protected]> wrote:
>
> > Am using a usb modem. Could it be missing device drivers?
>
> > Cheers,
> > Simon.
> > On Oct 26, 11:20 pm, Thanasis <[email protected]> wrote:
>
> > > You must be using JavaComm v3, right? This library works on some
> > > distros and doesn't work on others, god knows why...
> > > Have you tried with RxTx?
>
> > > On Oct 26, 5:59 pm, Simon <[email protected]> wrote:
>
> > > > Hi, am using openSUSE 10.3 with smslib. I have followed the
> > > > installation steps closely, but don't know what I have left out.
> > > > Here is the error.
> > > > ================================================================
>
> > > > Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no
> > > > LinuxSerialParallel in java.library.path
> > > > Exception in thread "Thread-8" java.lang.UnsatisfiedLinkError:
> > > > com.sun.comm.Unix.isDevLink(Ljava/lang/String;)Z
> > > >         at com.sun.comm.Unix.isDevLink(Native Method)
> > > >         at com.sun.comm.PathBundle.add(PathBundle.java:108)
> > > >         at 
> > > > com.sun.comm.PlatformPortBundle.<init>(PlatformPortBundle.java:44)
> > > >         at 
> > > > javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:
> > > > 138)
> > > >         at org.smslib.modem.SerialModemDriver.connectPort
> > > > (SerialModemDriver.java:63)
> > > >         at org.smslib.modem.AModemDriver.connect(AModemDriver.java:89)
> > > >         at 
> > > > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:84)
> > > >         at org.smslib.Service.startService(Service.java:181)
> > > >         at 
> > > > org.fcitmuk.communication.sms.SMSServer.run(SMSServer.java:307)
> > > >         at java.lang.Thread.run(Thread.java:619)
>
> > > > =======================================================
>
> > > > Will be glad to get help.
> > > > Simon.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to