import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

// or you will have problems!

public class LoadDriver {
    public static void main(String[] args) {
        try {
            // The newInstance() call is a work around for some
            // broken Java implementations
            Class.forName("com.mysql.jdbc.Driver").newInstance();
            } catch (Exception ex) {
			System.err.print("ClassNotFoundException: "); 
			System.err.println(ex.getMessage());
		                           }
}
}
//***********
