Re: Exception with com.mysql.jdbc.Driver
Posted by: Brian Lipa
Date: February 02, 2005 08:13AM

Try editing the Java command used to run your application to contain the MySQL connector JAR. This will include all of the Java JRE libraries and your additional library in the immediate classpath for the application to be run.

java -cp PATH-TO-MYSQL-CONNECTOR/mysql-connector-java-3.0.16-ga-bin.jar JdbcExample2

The PATH-TO-MYSQL-CONNECTOR can be a relative or an absolute path. If its a relative path, then the directory from which the application is run is considered the current directory.
Hope this helps!

Options: ReplyQuote

Written By
February 01, 2005 01:51AM
Re: Exception with com.mysql.jdbc.Driver
February 02, 2005 08:13AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.