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. Great example - easy to understand!
View Tutorial          By: George at 2009-12-30 03:48:37

2. Just what I needed. Thank you.
View Tutorial          By: Clive Jefferies at 2009-06-01 08:05:15

3. help, i want to migrate my system (asp to jsp)

View Tutorial          By: gendull at 2007-02-25 21:03:20

4. i want code please send me.

luckys

View Tutorial          By: sam at 2014-11-12 06:19:26

5. Thanks for your tutorial.
View Tutorial          By: pre pais at 2015-01-09 00:14:29

6. This site providing excellent knowledge about stru
View Tutorial          By: Bellamkonda at 2009-11-12 02:37:44

7. i apprciate your work,plz keep on working harder a
View Tutorial          By: Raymond B. Benedicto at 2013-01-12 07:08:59

8. #include <iostream>
using namespace s

View Tutorial          By: Jorgeus at 2012-08-30 09:07:03

9. Why not a simple array list of threads?
wha

View Tutorial          By: Ranadheer Machineni at 2011-08-18 12:30:35

10. Thanks , really appreciate
View Tutorial          By: Marlen at 2010-11-23 10:50:29