java.sql.SQLException: No driver found

Discussion in 'Programming/Scripts' started by newbie14, Jan 8, 2011.

  1. newbie14

    newbie14 New Member

    Dear All,
    I have a java application which link to db on another computer on the local lan. The problem I have install jdk_1.6_21 without any problem. Then I have paste mysql-connector-java-5.1.14-bin.jar in /usr/java/jdk1.6.0_21/jre/lib/ext. When I compile my program has no problem when I try to run I get this error java.sql.SQLException: No driver found. I have been doing this method all this while it works suddenly this new machine have this problem. Any help please.My Os is centos 5.5.

Share This Page