DriverManager.getConnection Exception Data source name not found and no default driver specified
Hi,
In Windows 7 environment,
I created an application (64 bit) to connect to MS 2010 ACCESS DB (64 bit) with DriverManager.getConnection(dbConnectionStr, "", "").
I use 2013 MS ACCESS to create this XX.accdb database file.
I use JRE 1.6 compiler and JRE System library 1.6.0_45 (64 bit) to execute the program.
I didn't use Control Panel to do any setup for Data Sources (ODBC).
(I don't want to do any special setup for this application because if I do I then need to change users' machine)
I got the following error when I execute the program at this point: DriverManager.getConnection(dbConnectionStr, "", ""
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified