• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error when using mm.mysql.driver under Linux

 
PatrickDuck
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I using the mm.mysql-2.0.4-bin.jar for making the connection between the Tomcat/Apache and MySQL under the Linux platform.
However, when I run the statement below
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
there are an error occurs
java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

What the problem of this situation ?
The problem of classpath setting ? if yes, what is the classpath ?
Please help !!!
thanks
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!