Just wondering if it is possible to register an Access database as a date source using code in a java program rather than going to Windows to register the data source with the database manager.

How would this be done?

If anyone could point me in the right direction I would appreciate it.

Recommended Answers

All 3 Replies

Thanks for all the responses so far.

However, what I am loking for is whether it is possible to register the database using Java code(in the program code itself), rather than going to Windows to register the database.

My guess is that you could. But it most likely will not be easy. You will have to write a lot of code specific for windows and use JNI.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.