Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic