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



Comment Added by : Yanosh

Comment Added at : 2009-07-16 05:19:38

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

I tried use this code:

package sms;

public class Main {

public static void main(String[] args) {
// TODO code application logic here
SMSClient sc = new SMSClient(0);
sc.sendMessage("505050702","Hello");
}

}

And I have error when tried to run in NetBeans and in console:
Exception in thread "main" java.lang.NoClassDefFoundError: sms/SMSClient (wrong name: SMSClient)

Pls. help
Yanosh


View Tutorial



Ask a Question

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. I have my application running on server that is th
View Tutorial          By: vitamin b12 at 2009-12-04 10:51:56

2. Great job!
Lot of things cleared...

View Tutorial          By: alok at 2009-03-18 10:45:25

3. Hi its good for the learners and thosse who forgot
View Tutorial          By: Md.Abdul Gaffar at 2008-01-12 06:00:14

4. Hi. I put the file .cert in two paths:
C:\P

View Tutorial          By: ALFREDO at 2012-09-18 16:22:16

5. Im using maxis broadband now.
I want to cre

View Tutorial          By: rayminn at 2012-06-03 21:08:13

6. Thank You
View Tutorial          By: Alex at 2011-02-09 04:26:07

7. Its an excellent example to learn this concept!!
View Tutorial          By: Koustav Routh at 2009-12-18 11:19:03

8. program is very long
View Tutorial          By: ajit kumar at 2012-04-21 03:57:13

9. i have been searching for this result for more tha
View Tutorial          By: nithin at 2010-08-08 12:55:18

10. Very nice tutorial........
View Tutorial          By: Santosh Saha at 2010-04-11 05:58:51