If you use a 64bit JDK/JRE, you should also use 64bit RxTx libs. Check here: http://smslib.org/doc/installation/#RxTx_Installation
If you have a 64bit operating system and a 32bit JRE, things *should* already work ok. On 15 April 2013 07:35, djatoyz alvian via SMSLib Discussion Group < smslib+noreply-apn2wqfkcqa6sz66xedfuwdtevz8ymqykfo9ocoplicegl...@googlegroups.com > wrote: > I've made an SMS application with 32bit window but after I moved to the > window 64bit, mucanul error message like this: > > run: > [AWT-EventQueue-0] INFO smslib - SMSLib: A Java API library for sending > and receiving SMS via a GSM modem or other supported gateways. > This software is distributed under the terms of the Apache v2.0 License. > Web Site: http://smslib.org > [AWT-EventQueue-0] INFO smslib - Version: 3.4.4 > [AWT-EventQueue-0] INFO smslib - JRE Version: 1.7.0 > Example: Send message from a serial gsm modem. > SMSLib: A Java API library for sending and receiving SMS via a GSM modem > or other supported gateways. > [AWT-EventQueue-0] INFO smslib - JRE Impl Version: 21.0-b17 > This software is distributed under the terms of the Apache v2.0 License. > Web Site: http://smslib.org > Version: 3.4.4 > ================================================== > [AWT-EventQueue-0] INFO smslib - O/S: Windows 7 / x86 / 6.1 > [Thread-5] INFO smslib - GTW: sierra.COM8: Starting gateway, using Generic > AT Handler. > [Thread-5] INFO smslib - GTW: sierra.COM8: Opening: COM8 @115200 > [Thread-5] INFO smslib - GTW: sierra.COM8: Closing: COM8 @115200 > [AWT-EventQueue-0] INFO smslib - GTW: sierra.COM8: Stopping gateway... > [AWT-EventQueue-0] INFO smslib - GTW: sierra.COM8: Closing: COM8 @115200 > [AWT-EventQueue-0] INFO smslib - GTW: sierra.COM8: Gateway stopped. > Erros saat mulai Service salah > org.smslib.GatewayException: Comm library exception: > java.lang.RuntimeException: javax.comm.NoSuchPortException > at > org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:96) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java:111) > at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:185) > at org.smslib.Service$1Starter.run(Service.java:257) > BUILD SUCCESSFUL (total time: 2 seconds) > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib Discussion Group" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/smslib/-/y_j7wlLpf7YJ. > > > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group.
