Specifying the classpath from the cmd as belowC:\Program Files\Java\jdk1.7.0_11;C:\Program Files\Java\jdk1.7.0_11\lib\;C:\Progtried running the same from the cmd with no luck.when i run the same .jar in the command prompt it fails with a noportfound exception.I've had a small issue with smslib really tying me down.I am experimenting with the sms lib. The code works as expected in netbeans. sending and receiving sms's
ive tried going thru stakeoverflow and googled to no avail. added all possible paths to the classpah. still no luck
my classpath is as below
ram Files\Java\jdk1.7.0_11\jre\lib\ext;c:\windows\system32;C:\Program Files\Java
\jdk1.7.0_11\jre\bin;C:\Program Files\Java\jdk1.7.0_11\jre\lib; D:\dev_java\sms\
smsquery\dist\lib; D:\dev_java\sms\smsquery\dist
java -classpath D:\dev_java\sms\smsquery\dist\lib -jar smsquery.jar
org.smslib.GatewayException: Comm library exception: java.lang.RuntimeException:
javax.comm.NoSuchPortException
at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java
:102)
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:114)
at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:189)
at org.smslib.Service$1Starter.run(Service.java:277)
any ideas?--
Peter Muchemi
_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke