• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cant find Database Driver class:

 
Prem Shankar
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
thou i set my classpath to the JDBC driver(mysql-connector-java-3.0.14-production-bin.jar), im getting the following error, when im tryin to connect Database(Mysql) in applet.

cant find Database Driver class:java.lang.ClassNotFoundException:com.mysql.jdbc.Driver

Rgds,
Prem.
 
Joe Ess
Bartender
Posts: 9337
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets don't use the classpath. They download all their classes from the web server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic