You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Vicamau

Beginner

  • "Vicamau" started this thread

Posts: 10

Date of registration: Jul 28th 2010

  • Send private message

1

Monday, November 8th 2010, 12:54pm

Problem with ConnectMDB on Linux

Hi everyone,
I've done a little project for testing the portability between Windows and Linux in which I open a mdb file and perform some search on a table. Compiling the project in JAR file on Windows it works correctly but on Linux (Ubuntu 7.10) when i try to open the recordset it raise the error "java.lang.NullPointerException at VB.DataBase.ExecuteStatement(DataBase.jsrc)". It seems like the connection is not valid even if it doesnt rise any error on the "connectMDB" method. The path I've used in the ConnectMDB method is expressed like ".\databasename.mdb" and the MDB file is in the same folder of the JAR file. I've try also to substitute the slash in the path with the back-slash but effect is the same. I've also checked the permission on the file and they are all Read/Write for the file.
Someone has already tried to use MDB file on Linux using ConnectMDB method?

Thanks

Mauro

Rate this thread
WoltLab Burning Board