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. Hi, I need the complete working code for sending a
View Tutorial          By: Balaji Srikaanth at 2007-03-10 01:22:35

2. Better theory for those who have just started.

View Tutorial          By: kunal at 2010-05-13 05:55:05

3. in my application i have got several command link,
View Tutorial          By: Carlo at 2009-09-04 04:48:23

4. help me in my final project about arrays
View Tutorial          By: grace at 2013-03-13 09:54:11

5. Hi
Its nice example ..
som

View Tutorial          By: munirasu at 2011-04-01 06:38:46

6. What is SMSC and CSCA number? , in which JAVA file
View Tutorial          By: sampath at 2009-06-19 07:01:31

7. great answer...
View Tutorial          By: nagi ponnagani at 2011-04-29 14:11:21

8. i get this error too.
: Parent: child proce

View Tutorial          By: Anon at 2009-02-25 08:30:58

9. Awesome, now I can say I've fully understood volat
View Tutorial          By: Andrew at 2012-01-13 18:19:15

10. Easy to understand
View Tutorial          By: suji at 2012-02-21 08:28:05