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



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. When JVM find two string object with de same conte
View Tutorial          By: ku at 2009-05-11 10:17:51

2. Thank you very much. Now I know how to make an abs
View Tutorial          By: Alex at 2011-01-17 03:35:22

3. Can any one say how to send a message to a particu
View Tutorial          By: Sankar guru.P at 2012-01-05 07:43:44

4. this code is very and help in our project BUT
View Tutorial          By: bhamre sandeep at 2010-02-28 03:02:53

5. what if the delimiter is "(quotation mark)?
View Tutorial          By: hiakoto at 2013-02-18 16:15:20

6. so how can i run this project
View Tutorial          By: milinda at 2010-12-17 10:01:23

7. i should say, a lot of thank you because of this s
View Tutorial          By: merven at 2009-03-17 09:45:39

8. good
View Tutorial          By: saravanan at 2007-03-02 23:16:00

9. This is so phat. Maybe the best explanation ever t
View Tutorial          By: Devin Prince III at 2010-08-11 10:01:04

10. Good one. Keep up the good work.
View Tutorial          By: zubair at 2012-02-23 10:18:36