2

I have a java application that uses access database. My PC has 64-bit Operating System, 64-bit Microsoft Office, and 64-bit JDK. I even installed the Access Database Engine x64. Basically everything on it is 64-bit.

In control panel, my target is C:\Windows\SysWOW64\odbcad32.exe and I specified that start in: %windir%\SysWOW64. The problem now this error message that I keep on getting.

java.sql.SQLException:[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

Does any one know what is causing this error?

4

1 回答 1

2

好的,在这种情况下,如果您的 Java 应用程序运行 64 位,您将需要 64 位驱动程序。我相信以下链接有 64 位下载:

Microsoft Access 数据库引擎 2010 可再发行组件

于 2013-08-24T03:50:29.840 回答