i try to use console to run the following command: and it hit
exception like this:
E:\Installer\Development Tools\SMS\SMSLib\smslib-v3.3.3-bin\dist
\classes>java mi
sc.CommTest
Searching for devices...
Exception in thread "main" java.lang.ExceptionInInitializerError
at misc.CommTest.getCleanPortIdentifiers(CommTest.java:30)
at misc.CommTest.main(CommTest.java:36)
Caused by: java.lang.RuntimeException: CommPortIdentifier class not
found
at org.smslib.helper.CommPortIdentifier.<clinit>
(CommPortIdentifier.java
:77)
... 2 more
Is it means it could not detect my comm.jar put in C:\Program Files
\Java\jdk1.6.0_03\jre\lib\ext? How i going to set the classpath to be
able to find comm.jar and other relevant files?
On Mar 11, 8:58 pm, Thanasis <[email protected]> wrote:
> I think that the virtual ports are present even if nothing is attached
> on the USB port - this is for windows, Linux has different behaviour.
>
> On Mar 11, 12:08 pm, seedarren <[email protected]> wrote:
>
> > But at least i got plug in mouse in usb ports, so it should return the
> > ports as well although mouse is not gsm phone. Is that true?
>
> > On Mar 10, 4:20 pm, Thanasis <[email protected]> wrote:
>
> > > SMSLib does not directly support USB ports.
> > > However, USB ports are mapped to virtual comm ports, so they can be
> > > used.
>
> > > Check if you need any special modem drivers for your phone.
> > > If you run any sort of phone application (those managing contacts,
> > > etc), be sure to disable it first.
>
> > > On Mar 10, 5:58 am, seedarren <[email protected]> wrote:
>
> > > > hi, i have checked that all this 3 related files are in place. I plug
> > > > in my gsm phone with computer using usb port and i run my program
> > > > using eclipse. Plz help, is it smslib does not support usb?
>
> > > > On Feb 27, 5:43 pm, Thanasis <[email protected]> wrote:
>
> > > > > Since the commtest finds nothing (no ports, etc), It *seems* to be a
> > > > > JavaComm installation problem. Check that all three (3) javacomm
> > > > > related files are in place.
>
> > > > > On Feb 27, 10:53 am, seedarren <[email protected]> wrote:
>
> > > > > > Hi,
>
> > > > > > I got a problem and i do not know why. I have connect my
> > > > > > Samsung SGH X700 phone to PC using usb cable. I am using Window.
> > > > > > Through device manager, i found out that the samsung modem is
> > > > > > detected
> > > > > > as PORT7. I try to run CommTest, but it does not return me any port
> > > > > > info.
> > > > > > Output of the program:
> > > > > > Searching for devices...
>
> > > > > > Test complete.
>
> > > > > > May i know why? Is it my phone not supported? Or is it my
> > > > > > installation
> > > > > > problem? Plz help! It is urgent! Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---