benoit doll benoit doll - 7 months ago 47
Java Question

"does not support writing" IOException when opening Access 97 .mdb file with Jackcess

I need to open an .mdb file to recover some genealogy data.

I try Jackacess 2.1.5 but I get the following

file format [V1997 [VERSION_3]] does not support writing for Genealogy.mdb

How can I avoid this?


You will get that exception with an Access_97 database file if you try to do

Database db = File(dbPath));

but you can avoid the exception if you do this instead

Database db = new DatabaseBuilder()
        .setFile(new File(dbPath))