3 messages in com.mysql.lists.javaRe: problem with mm.mysql (newbie)
FromSent OnAttachments
Christopher Thorpe05 Sep 2001 09:43 
alec...@quantel.com05 Sep 2001 10:00 
Artigas, Ricardo Y.05 Sep 2001 18:19 
Subject:Re: problem with mm.mysql (newbie)
From:alec...@quantel.com (alec@quantel.com)
Date:09/05/2001 10:00:18 AM
List:com.mysql.lists.java

Sorry if I'm being a bit dim here, I've read other posts and placed the mm.mysql-2.0.4-bin.jar in the JRE/lib/ext folder but whenever I try to run any code with Class.forName("org.gjt.mm.mysql.Driver").newInstance() I get an error as below

Exception in thread "main" java.lang.NoClassDefFoundError:

is this related to the mm.mysql jdbc driver for MySQL or have I misconfigured something else?

Yes to both. The JVM cannot find the mm.mysql.jar file. You must either put it into your classpath or into the JRE extensions directory (probably C:\jdk1.3\jre\lib\ext in your case), which is the method I favour.

Alec Cawley