jdbc: MySQL Connector/J probleme

From: Geiregat Jonas (eniac_at_sdf-eu.org)
Date: 03/29/04


Date: Mon, 29 Mar 2004 19:08:47 +0000

I'm using MySQL Connector/J 3.0.11-stable,
My app compiles fine but when I run it I always get these errors:
java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getConnection(DriverManager.java:532)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at QueryApp2.main(QueryApp2.java:25)

I don't know what's wrong I've added the com and lib dir's to my
classpath also I've tryed to place the *jar file in
$JAVA_HOME/jre/lib/ext, but that didn't help.

The single source file is located at http://jonasg.ath.cx/jdbc