Ok, lets do the following: * Remove ALL traces of smslib related .jar files from your system. * Go to the smslib directory. Run "ant compile-smslib". * Go to dist/classes subdirectory and run "java examples.modem.SendMessage".
Is this one running? On Feb 2, 9:21 pm, Jan Hulst <[email protected]> wrote: > I forgot: I am on the win32 (Vista) platform. > > On Feb 2, 8:18 pm, Jan Hulst <[email protected]> wrote: > > > Hello Thanasis, > > > I checked the setup as described here:http://smslib.org/doc/installation/ > > > I don't understand why the jre cannot find the class > > CommPortIdentifier; there are even 2 versions of this class in the > > build path, one in smslib-3.3.3.jar and one in smsserver-3.3.3.jar > > (which one does he need btw?). > > > The error is located in SendMessage.java/srv.startService(); > > > Thanks in advance. > > > Jan/Amsterdam > > . > > > On Jan 29, 2:45 pm, Thanasis <[email protected]> wrote: > > > > Hi, > > > > The error seems to be attributed to incorrect javacomm installation, > > > as some classes seem to be missing / not found. Can you please review > > > the steps? Are you on Win32 platform? > > > > As far as whether the phone can be used, the only safe solution would > > > be to test it. > > > > Thanks :) > > > > On Jan 29, 11:32 am, Jan Hulst <[email protected]> wrote: > > > > > Hello Thanasis, > > > > > First of all, thanks for providing smslib! > > > > > I have a T-Mobile MDA Compact IV high end mobile phone, connected to > > > > my computer with a USB cable. I managed to synchronize my telephone > > > > data, email addresses etc. with it. I want to use this MDA as a modem > > > > to send SMS messages from java to a simple cheap Nokia prepaid mobile > > > > phone. Questions: > > > > > 1. How can I decide if the MDA Compact IV is suitable to serve as a > > > > modem using smslib? > > > > > 2. While running the example SendMessage.java I get the following > > > > output: > > > > > 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. > > > > This software is distributed under the terms of the Apache v2.0 > > > > License. > > > > Web Site:http://smslib.org > > > > Version: 3.3.3 > > > > Exception in thread "Thread-1" java.lang.ExceptionInInitializerError > > > > at org.smslib.modem.SerialModemDriver.connectPort > > > > (SerialModemDriver.java:67) > > > > at org.smslib.modem.AModemDriver.connect(AModemDriver.java:110) > > > > at > > > > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:126) > > > > at org.smslib.Service$1Starter.run(Service.java:222) > > > > Caused by: java.lang.RuntimeException: CommPortIdentifier class not > > > > found > > > > at org.smslib.helper.CommPortIdentifier.<clinit> > > > > (CommPortIdentifier.java:76) > > > > ... 4 more > > > > > Any suggestions how to proceed? > > > > Thanks in advance! > > > > Jan/Amsterdam --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
