You are using version 3.2??? Why??? Where did you find that version??? Please download the latest one from http://www.smslib.org! And do a quick read of the installation instructions here: http://www.smslib.org/doc/installation/
On Oct 28, 4:23 am, faizal <[email protected]> wrote: > Ok, commtest found at 9600 > > But when I run read messages I get this error;- > > D:\sms3\dist\classes>java -Dsmslib.debug examples.modem.ReadMessages > Example: Read messages from a serial gsm modem. > SMSLib: A Java API library for sending and receiving SMS via a GSM > modem > or other supported gateways. > Web Site:http://smslib.org > This software is distributed under the terms of the Apache v2.0 > License. > Version: 3.2.0 > java.lang.NullPointerException > at examples.modem.ReadMessages.doIt(ReadMessages.java:135) > at examples.modem.ReadMessages.main(ReadMessages.java:480) > > thanks. > > On Oct 27, 6:48 pm, Thanasis <[email protected]> wrote: > > > Check that the three (3) JavaComm files are in place! > > > On Oct 27, 6:25 am, faizal <[email protected]> wrote: > > > > Hi, > > > > I could not figure it out, after installing everything, I tested it > > > and got this result > > > > D:\sms3\dist\classes>java misc.CommTest > > > Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/ > > > CommPortId > > > entifier > > > at misc.CommTest.main(CommTest.java:16) > > > Caused by: java.lang.ClassNotFoundException: > > > javax.comm.CommPortIdentifier > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > at java.security.AccessController.doPrivileged(Native Method) > > > at java.net.URLClassLoader.findClass(Unknown Source) > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > ... 1 more > > > > I compile using netbean without any error, plz help ....thank you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
