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



Comment Added by : Arsalan

Comment Added at : 2012-07-09 16:38:49

Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
I successfully connect to mysql server using:
"jdbc:mysql://localhost:3306/mysql";
But the problem I face at the end is compilation/execution of Query. I get the following error:
Error: java.lang.ClassNotFoundException: Select * from subject
BUILD SUCCESSFUL (total time: 0 seconds)
------------------ Please Suggest What should I do with this error
Thanks


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. Hi, thanks for your code, I have modified a little
View Tutorial          By: Armando at 2010-08-10 09:34:35

2. M finding difficulty in understanding Java. Can an
View Tutorial          By: Sunil at 2010-09-28 03:54:57

3. "Type safety: The method add(Object) belongs
View Tutorial          By: WalterB Ntuli at 2010-04-09 01:51:17

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

5. Wow! Thank you!
View Tutorial          By: David at 2013-04-24 15:52:45

6. It is really a nice example when you need to sort
View Tutorial          By: Ranjan at 2010-10-04 23:14:33

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

8. sir , i'm doing BCA . I want to learn more about
View Tutorial          By: gayatri patil at 2012-08-18 10:08:32

9. Great tutorial about ArrayList .It's a very great
View Tutorial          By: umesh sharma at 2009-05-14 20:40:39

10. Good example to know the concept better.
View Tutorial          By: ARAVIND L at 2009-01-05 04:07:46