I can happily connect to a System DSN using JDBC:
DriverManager.getConnection("jdbc:odbc:SysDSN");
If I try and use a File DSN however I get an error:
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Using:
DriverManager.getConnection("jdbc:odbc:FileDSN");
I've tried specifying a path to the File DSN and still get no joy.