I have a java program to insert from textfields data to an ms access database.
I am using Netbeans 7.4 java 1.7.
The program runs in the Netbeans but not in the dist folder(before some time it was running fine in both).I use the same libraries with other projects also which running fine in their dist folders but not this one with the database.
The current error is can not find sun.jdbc.odbc driver and after that java.lang nullpointer exception error.Can anyone tell me how to fix it?
Try the following, go to Libraries->Properties. The “lib” folder should be added as a library. remove it or remove them (several folders as libraries) and do clean and build.
If that doesnt help try checking your Java version because maybe it got updated automatically or by some other program.