What JVM are you using?
If Microsofts then in thier JVM you should use
com.ms.jdbc.odbc.JdbcOdbcDriver
They do not have sun.jdbc.odbc package.

George.


> -----Original Message-----
> From: Tom Copeland [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, November 09, 1999 8:27 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Load DB Error
>
> Michael -
>
>         You may want to change this:
>
>             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
>
>         to this:
>
>             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
>
>         Here's a link to a post where a fellow was having a similar
> problem
> loading the type 4 JDBC driver for MySQL.  Good luck!
>
>
> http://www.progressive-comp.com/Lists/?l=mysql-java&m=91736116619172&w=2
>
>         Yours,
>
> Tom
>
> -----Original Message-----
> From: Michael Chung [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 4:12 PM
> To: [EMAIL PROTECTED]
> Subject: Load DB Error
>
>
> When I connect to a DB via the following command:
> ...
> Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
> ...
> I've got this error: "jdbc.odbc.JdbcOdbcDriver not found"
>
> Does anybody knows what am I missing here?
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to