• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

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?
0
jefcheek
Asked:
jefcheek
  • 2
1 Solution
 
hoomanvCommented:
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
0
 
jefcheekAuthor Commented:
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?
0
 
hoomanvCommented:
> 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 ?
0
 
mbvvsatishCommented:
try this post "Microsoft Access Database using Linux and PHP"

http://bryanmills.net:8086/archives/2003/11/microsoft-access-database-using-linux-and-php/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now