I've been trying to connect to a MS Access 2007 database through JDBC (JDK is 64-bit under Windows 7 64-bit) and I receive the following error:
java.sql.SQLException: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application.
I upgraded Access to 2010, I used odbcad32.exe in Windows\SysWOW64 and downloaded/installed 32-bit Microsoft Access Database Engine 2010 Redistributable (couldn't install the 64-bit MS Access Database Engine 2010 because I currently have 32-bit Office products installed), but I get still the same error.
What can I do to overcome this error?