Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error when using mm.mysql.driver under Linux  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!