Can't load JdbcOdbc library on Win95`

I have set up my data source name and it is present in the odbc.ini file in C:\windows

I compile and execute the sample code and the Jdbc-Odbc Bridge loads but then it tries to load the JdbcOdbc library and can't. Here is the output:

DriverManager.getConnection("jdbc:odbc:Test")

trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@1fef6f]

*Driver.connect (jdbc:odbc:Test)

JDBC to ODBC Bridge: Checking security

No SecurityManager present, assuming trusted application/applet

JDBC to ODBC Bridge 2.0001

Current Date/Time: Fri Jul 20 06:04:41 PDT 2001

Loading JdbcOdbc library

Unable to load JdbcOdbc library

java.sql.SQLException: Unable to load JdbcOdbc library

at sun.jdbc.odbc.JdbcOdbc.<init>(JdbcOdbc.java:81)

at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:311)

at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:149)

at java.sql.DriverManager.getConnection(DriverManager.java:517)

at java.sql.DriverManager.getConnection(DriverManager.java:177)

at CreateCoffees.main(CreateCoffees.java:57)

Unable to load JdbcOdbc library

Unable to allocate environment

getConnection: no suitable driver

java.sql.SQLException: No suitable driver

at java.sql.DriverManager.getConnection(DriverManager.java:537)

at java.sql.DriverManager.getConnection(DriverManager.java:177)

at CreateCoffees.main(CreateCoffees.java:57)

SQLException: SQLState(08001)

SQLException: No suitable driver

I have added the extension jdbc2_0-stdext.jar and it is in my classpath.

Can anyone help? I don't know where the library should be located, what it would be called or what configuration change I could make to help locate/load it.

[1844 byte] By [awma] at [2007-9-26 1:17:57]
# 1

Two possibilities... If the database Test doesn't exist, you will get that warning. Also, if you have some sort of security (on win 95, not likely, oh, sorry :) that prevents you from accessing the file, then you may have problems with the driver as well. Also, try downloading it again, I've had files corrupted before, and you don't think of it until you've spent 3 hours on it.

GN

statusquo at 2007-6-29 0:48:18 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Thanks, I will try to get it again.Also, Test is my Data Source Name which points to my "Coffee.mdb" database which does exist. The sample code is trying to setup tables in the database.
awma at 2007-6-29 0:48:18 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3
And the final solutions is to be sure to install 32 bit versions of the ODBC Driver. It now works fine.
awma at 2007-6-29 0:48:18 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...