Which driver are you using? I use mm.mysql-2.0.4-bin.jar Which IDE are you using? If you are using JBuilder 5, you have to go to required library and add one pointing to that file. If you are building a jar file from your classes, you have to make sure that you tell the library to include this JDBC jar file. You can do that from the library properties. Then you only have to execute your application using java myapp.jar.
If you are not building a jar file, you can do two things: - Make sure that your CLASSPATH includes the jat file name with the path. CLASSPATH=C:\pleasework\jdbc\mysql\mm.mysql-2.0.4-bin.jar or - If you don't want to modify the CLASSPATH: java -classpath C:\pleasework\jdbc\mysql\mm.mysql-2.0.4-bin.jar myapp.jar. Good Luck! --- Myrto Karyda <[EMAIL PROTECTED]> wrote: > I have a problem with the installation of the JDBC > driver for Mysql. > I have Windows XP and Java2 SDK 1.4.01 > I tried to install the JDBC driver > org.gjt.mm.mysql.Driver but every time I > try to connect to my database, I get a > ClassNotFoundException: > org.gjt.mm.mysql.Driver error, although I have put > the org directory into > the path of XP. > I follow the installation notes very carefully but > nothing happens. > Does anyone know anything about this? > Do you have a better driver to suggest? > > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list > archive) > > To request this thread, e-mail > <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: > http://lists.mysql.com/php/unsubscribe.php > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php