Hi! I m quite new to JDBC and the java world in general and after having
gone through all the documentation and tutorials, I still can t understand
why a tiny program such as the one below still fails
import java.sql.*;
public class Essai
{
public static void main(String[] Args)
{
try {
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Connection con = DriveManager.getConnection(
"jdbc:mysql://localhost/COFFEEBREAK","root" ,"passwd" );
}
catch (Exception E) {
System.err.println("marche pas");
E.printStackTrace();
}
}
}
jikes geives the following output:
DriveManager is either a misplaced package package name or a non existent
entity.
Any advice or suggestion welcome!! Vincent, Stuttgart.