Link to home
Start Free TrialLog in
Avatar of jefcheek
jefcheek

asked on

Accessing Ms Access database in Linux using Java

I placed an Ms Access database (aaa.mdb) in Linux and tried to access it using Java but to no avail. it came out nullpointerexception in the statement Class.forName("sun.org.....").
Is it possible to access it and do i need a special driver?
Avatar of hoomanv
hoomanv
Flag of Canada image

AFAIK MS Access should be there to open and manipulate the data in mdb file
Therefore a windows platform is needed
http://forum.java.sun.com/thread.jspa?threadID=650819
http://database.ittoolbox.com/documents/popular-q-and-a/using-ms-access-database-with-java-2136
Avatar of jefcheek
jefcheek

ASKER

what u tried to say is that it won't work if the mdb is placed inside Linux platform ??I know it will work in windows as i managed to access it even without the need to install ms access program. but can it work in Linux?
> i managed to access it even without the need to install ms access
I didn't know that
What is you driver class and connection url ?
ASKER CERTIFIED SOLUTION
Avatar of mbvvsatish
mbvvsatish
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial