• 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: 9370
11
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!