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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. Awesome article. It's very useful. Despite it didn
View Tutorial          By: Matheus at 2015-02-24 12:06:05

2. Can anybody tell the steps to go ahead with the ex
View Tutorial          By: Sunpenn at 2009-10-12 03:57:58

3. nice tutorial,but if provided with the complete ex
View Tutorial          By: Prasant Kumar Sahu at 2013-01-07 13:17:20

4. Thank alot
View Tutorial          By: Naganatarajan at 2010-01-07 05:54:17

5. Is System.gc() required with finalize method??
View Tutorial          By: QsRealm at 2012-02-11 08:28:16

6. How to draw a thick circle in midlet?
View Tutorial          By: masi at 2011-12-01 11:47:00

7. thanks for this good example. i got error like (th
View Tutorial          By: anandhi at 2009-12-20 09:32:45

8. This is by far the easiest way I have yet seem, ma
View Tutorial          By: doahh at 2010-03-08 11:23:48

9. super
View Tutorial          By: Dhana at 2007-01-30 03:21:00

10. thank you..........
View Tutorial          By: ravi at 2010-01-29 23:27:39