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. how we can store a pdf file into database

View Tutorial          By: neelima at 2010-03-10 23:46:52

2. This came out of a book
View Tutorial          By: Kyle Bradley at 2010-04-12 19:48:12

3. fantastic
make something like this

View Tutorial          By: jyoti maheshwari at 2009-03-27 22:15:36

4. Thanks.. grt example
Also... If the type ar

View Tutorial          By: Shahid at 2011-12-20 10:26:22

5. I am developing a system for paying electric bill
View Tutorial          By: Isaya at 2007-03-26 01:11:59

6. not satisfied...

want to print the

View Tutorial          By: nikhil jha at 2010-03-08 04:25:50

7. in this statement "void Reverse(string &t
View Tutorial          By: vinay at 2012-12-13 16:41:59

8. thanks for our help. god bless u and again thanks.
View Tutorial          By: mehryab at 2011-05-08 14:44:21

9. sap crystal active-x design
failed to open

View Tutorial          By: Mubarak at 2012-11-11 17:16:54

10. Please guys i need sms.zip. I tried SMS.RAR but al
View Tutorial          By: Waseem at 2010-03-06 15:48:40