Comment on Tutorial - Using JDBC to connect to MySQL from Java Program By Rajan



Comment Added by : Arsalan

Comment Added at : 2012-07-09 16:38:49

Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
I successfully connect to mysql server using:
"jdbc:mysql://localhost:3306/mysql";
But the problem I face at the end is compilation/execution of Query. I get the following error:
Error: java.lang.ClassNotFoundException: Select * from subject
BUILD SUCCESSFUL (total time: 0 seconds)
------------------ Please Suggest What should I do with this error
Thanks


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. thanks....good explanation...
View Tutorial          By: jiby at 2012-01-14 05:57:33

2. hi, Thanks to the post.
I am stuck on step

View Tutorial          By: david_david at 2010-08-21 01:10:19

3. I did all steps, but it only shows the first pictu
View Tutorial          By: behzad at 2012-07-15 16:32:41

4. nice explanation.but one thing in retrieving proce
View Tutorial          By: venkateswarlu at 2013-04-06 09:03:46

5. @readers
this is an example of Hiding and N

View Tutorial          By: DevJ at 2011-03-18 05:41:52

6. I am certifed java Business Component Developer, m
View Tutorial          By: Kobs at 2013-02-26 11:58:22

7. answers to the questions asked by ranjan in commen
View Tutorial          By: A Sadist at 2012-07-05 12:13:45

8. Hallo every one. I am working on my project in j2m
View Tutorial          By: radhe at 2010-12-14 08:08:25

9. Good example but hard to read. Every other word is
View Tutorial          By: Eugene at 2012-03-28 12:19:44

10. THANKS!!!
Just the essential, core things-t

View Tutorial          By: Galaxio at 2010-12-29 04:25:33