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 have created a listview and i have a button in t
View Tutorial          By: prateek at 2013-05-19 18:52:47

2. Its working ,,, gud stuff.
View Tutorial          By: Atul at 2011-07-21 10:34:44

3. The example program was very easy to understand un
View Tutorial          By: vijay at 2011-12-27 07:34:35

4. hi all,

i successfully executed the

View Tutorial          By: praveen at 2010-07-14 04:47:41

5. Can u show how to do text to speech with servlet.
View Tutorial          By: Rotika at 2011-01-23 20:54:40

6. I have this line of code but i don't understand
View Tutorial          By: Xris at 2011-11-08 06:01:01

7. really...........its very good explanation . sort
View Tutorial          By: gunjan shah at 2010-05-28 22:28:43

8. thanks a lot
View Tutorial          By: Uzzal biswas at 2014-11-04 02:42:54

9. nice example..
View Tutorial          By: righana at 2011-07-19 08:46:50

10. Hi , I am mew to java please can u send detail how
View Tutorial          By: ramanji at 2011-12-11 05:36:41