Download here RXTX library: http://rxtx.qbang.org/wiki/index.php/Download
You need two files: RXTXcomm.jar, rxtxSerial.dll (or .so in Linux) Make sure .jar is in a Java classpath and .dll found in a library path. I copy both files to application's lib folder. Here is an example java.exe command. Adjust accordingly to Linux syntax. java -classpath ./lib/myapp.jar;./lib/RXTXcomm.jar;./lib/ smslib-3.4.0.jar;./lib/slf4j-api-1.5.6.jar;./lib/slf4j- jdk14-1.5.6.jar -Djava.library.path=rxtxSerial.dll my.test.GSMApp On May 5, 8:56 am, Thanasis <[email protected]> wrote: > No it doesn't! > Since several versions ago, SMSLib uses reflection in order to use > whatever comm library is installed. > > Check your jar files and your lib/ext dirs. My guess is that there is > an old smslib jar file there somewhere... > > On May 4, 7:06 pm, Sri <[email protected]> wrote: > > > I tried to use the RXTX but got a ClassCastException because SMSLib > > uses javax.comm.*. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib 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 -~----------~----~----~----~------~----~------~--~---
