ClassNotFound exception in Eclipse 3.0 using mysql jdbc driver

I am having trouble connecting to my mysql database. The code seems to be failing on Class.forName("com.mysql.jdbc.Driver").newInstance();

and gives a ClassNotFound exception.

I added the driver to my project as one as the libraries to include -- Why can't it find it?

[314 byte] By [yehuda54a] at [2007-11-27 6:04:33]
# 1
Are you working on web project or java project? If you work on web project make sure jar files under WEB-INF/lib.
jmos30a at 2007-7-12 16:48:45 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
UseClass.forName("com.mysql.jdbc.Driver");Is the MySQL JDBC JAR file listed in project path.?
dvohra09a at 2007-7-12 16:48:45 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...