简体   繁体   中英

Driver for MS Access in java

My requirement is to use MS Access database using java.

What would be the best solution? Should I download and use sun.jdbc.odbc.JdbcOdbcDriver or should I follow the usual way of connecting to Access database by configuring it in WIndows system?

The application will run on Windows system and I am using Ubuntu for development.

What will be the best approach?

The JdbcOdbcDriver would work in JDK7 or below but it was removed in JDK8 and if you're using Ubuntu for development that won't work anyway; the odbc->Jdbc bridge is dependent on Windows.

You can look at a cross-platform solution: UCanAccess . It's at worth looking at with your circumstances.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM