Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Priyadarsan

Comment Added at : 2007-11-27 22:31:56

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
it giving me error in following statment (using Linux machine)in file name serialConnection.java portId = CommPortIdentifier.getPortIdentifier(parameters.getPortName());
javax.comm: Can't find javax.comm.properties!

java.io.IOException: javax.comm: platform driver class name = null
(Check 'driver' property in javax.comm.properties)

at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
at SerialConnection.openConnection(SerialConnection.java:71)
at Sender.send(Sender.java:39)
at SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: com.sun.comm.SunrayInfo.isSessionActive()Z
at com.sun.comm.SunrayInfo.isSessionActive(Native Method)
at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155)
at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
at SerialConnection.openConnection(SerialConnection.java:71)
at Sender.send(Sender.java:39)
at SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Thread.java:619)


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Very good. I like this way. First provide quite wr
View Tutorial          By: NJ at 2010-04-01 23:27:44

2. how this program is work , please, tell
View Tutorial          By: rohit kumar at 2015-10-30 12:22:05

3. i am converting from Visualbasic 6 to java web app
View Tutorial          By: Qui at 2010-01-05 07:26:07

4. plz show me my answers
View Tutorial          By: Debnita Saha at 2010-05-01 05:15:16

5. Nice one
View Tutorial          By: Kalpana at 2009-11-17 02:04:14

6. hi! this coding is very helpful for me thanks .
View Tutorial          By: bhuvaneshwari at 2009-10-18 23:52:58

7. Thanks...Really nice...
View Tutorial          By: Raj at 2013-02-07 08:58:28

8. its very useful......to me
View Tutorial          By: dinesh at 2014-08-26 12:47:38

9. Hi all,
I'm getting this error on running

View Tutorial          By: shreya.g at 2008-06-23 00:13:52

10. thx a lot
View Tutorial          By: lupita at 2013-09-04 18:58:40