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



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. if a class is declared as abstract and it contains
View Tutorial          By: nagaraj at 2012-04-25 17:12:30

2. Hi, still having problem with 'Permission denied'.
View Tutorial          By: Dorjoo at 2012-05-18 19:00:22

3. chat
View Tutorial          By: zahra zare at 2009-05-10 07:07:57

4. Can you tell me what will happen when I use a free
View Tutorial          By: Neo at 2012-04-04 16:21:35

5. Hi friends i am the beginner ..
please guid

View Tutorial          By: Jigar at 2013-05-20 11:04:03

6. Thanks for the solution. I must say however that t
View Tutorial          By: Pierre at 2009-11-19 20:16:35

7. Hi all, i have tried above code, but am getting fo
View Tutorial          By: swathi at 2010-06-24 05:18:28

8. Excellent
View Tutorial          By: Dev at 2008-08-01 02:41:25

9. hi!! friends i executed the code
and i am

View Tutorial          By: chennareddy at 2007-10-15 00:07:30

10. good. very nice.
View Tutorial          By: anuprassana at 2007-03-03 04:22:42