classpath and JDBC driver problem
843859May 27 2008 — edited Nov 20 2014hello everyone!
i have problem with mysql jdbc driver.
i set classpath in system variables as follows:
C:\Sun\SDK\jdk\jre\lib\ext\mysql-connector-java-5.1.6-bin.jar;.; C:\Program Files\Java\jre1.6.0_06\lib\ext\QTJava.zip
but i take an error: java.lang.ClassNotFoundException: com.mysql.jdbc.driver when i run the application out of jdk bin folder.
before setting mysql driver classpath, the classpath was:
.; C:\Program Files\Java\jre1.6.0_06\lib\ext\QTJava.zip
Can anyone help me? do i have any mistakes?