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



Comment Added by : madhu sudan

Comment Added at : 2012-06-17 02:52:53

Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
i got an error msg at runtime of jdbc program with mysql...
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at Demo.main(Demo.java:11)
plz tel me how can i solve this problem.........?


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. I am getting the error below.

Tue J

View Tutorial          By: ganesh at 2008-07-01 05:35:31

2. i don't understand the input attributes can u plea
View Tutorial          By: dhanalakshmi at 2011-05-05 07:10:25

3. Thanks for the code it save's me a lot of work, ho
View Tutorial          By: Wishkah at 2009-09-04 00:29:16

4. good but not v.good. it seems the author is big fa
View Tutorial          By: Muhammad Ishaq Awan at 2014-10-29 07:00:44

5. frnds i need overriding concept in bubble sort
View Tutorial          By: rabbu at 2014-08-21 12:46:52

6. Great!
View Tutorial          By: justauser at 2012-08-31 13:57:58

7. Very Good Tutorial...
Very Good For Beginne

View Tutorial          By: Yatiraj Chakre at 2011-02-02 04:28:57

8. This is totally great. Your explaination make me u
View Tutorial          By: Cipom at 2010-04-11 18:41:04

9. we can create reference variable for an abstract c
View Tutorial          By: siva at 2012-08-30 06:03:50

10. i Want the Flow Chart for the Calendar Demo Progra
View Tutorial          By: Narayanan V at 2010-01-06 18:57:25