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. Awesome work! Ramlak, thank you for your help!
View Tutorial          By: ico at 2011-03-21 04:23:11

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

3. sir,
my project is in asp.net so is ther

View Tutorial          By: mohsin at 2011-04-14 06:25:59

4. thanx very much...
View Tutorial          By: Rajesh at 2015-10-09 08:57:36

5. Thanks Thanks Thanks.....for you
But how

View Tutorial          By: jihad at 2009-02-15 04:48:53

6. hi, this is a good example and this rely helpful i
View Tutorial          By: Dhaval PATOLIYA at 2015-09-08 06:55:38

7. This example is very useful....Thanks for your sha
View Tutorial          By: raji at 2015-05-22 07:19:07

8. Hi All could you pls. send the execution of the ab
View Tutorial          By: subbu at 2008-01-28 03:14:27

9. It must be the last thread to finish execution. Wh
View Tutorial          By: Abinash at 2013-07-16 06:37:11

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