I installed jdk 1.8 (64 bit)
on Windows 10. I also installed MySQL workbench 6.3
.
When I connect my Java application with a MySQL database, I am getting:
java.lang.Classnotfound exception: com.sql.jdbc.driver.
To get rid of this problem I already copied the MySQL java connector .jar file in
C:\Program Files\Java\jre1.8.0_51\lib\ext
folder.
Also I set the PATH
in system variables by going into advanced environment settings panel.
Still getting same message when running my Java application.