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