benoit doll benoit doll - 2 years ago 104
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?

Answer Source

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))
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download