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. The concept is clear.
View Tutorial          By: sam at 2012-08-23 03:52:15

2. I lit'l modified the above program for main class,
View Tutorial          By: Adil khan at 2013-02-12 06:37:17

3. I deploy a project in apache tomcat and backend to
View Tutorial          By: satish at 2010-08-04 05:31:59

4. I don't think GSM/Modem simulatur, will get it wor
View Tutorial          By: Michael Chon at 2008-10-08 10:35:55

5. sample program in packages and interface combined
View Tutorial          By: priya at 2009-09-10 05:42:31

6. Really help ful. To read abt jsp and servlet chk o
View Tutorial          By: Raju at 2009-07-13 11:25:41

7. Sir , I am doing BCA . I want to know more about j
View Tutorial          By: sikandar at 2011-05-22 03:09:40

8. this is not good example we want better...
View Tutorial          By: sabari nathan.p at 2011-06-15 03:27:18

9. good
View Tutorial          By: dock at 2013-06-07 15:18:49

10. Thanks ,It is very useful...
View Tutorial          By: SABARISH at 2014-08-08 05:46:43