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. Session Bean = client data is maintained upto pred
View Tutorial          By: Chetankumar at 2012-05-19 11:12:17

2. @Amit Shrivastava : Dear Amit I have tried the sam
View Tutorial          By: Sanjay at 2015-05-14 19:15:51

3. Hi for Java beginners this is the right place to s
View Tutorial          By: Anon at 2009-02-01 21:14:28

4. Your example is clear crisp and very helpful..
View Tutorial          By: sridhar at 2009-08-06 08:41:14

5. Thanks a lot!!!

Its very useful exp

View Tutorial          By: dipali at 2012-12-31 06:49:41

6. i need some simple java programs
View Tutorial          By: ramya at 2009-11-24 04:25:07

7. Apache was failing to deliver php pages that were
View Tutorial          By: Ted at 2010-11-13 08:13:29

8. Its very clearly explained.
View Tutorial          By: sowjanya at 2013-10-04 09:26:04

9. Hey your help is really appreciated but I dont und
View Tutorial          By: farid khan at 2012-03-21 15:59:53

10. i just got to know about this and i am really imp
View Tutorial          By: spo_mega at 2009-06-11 07:16:38