JAR file including database connection
843859Dec 26 2007 — edited Dec 27 2007Hello,
I made an application ( GUI ) which uses a MS acces Database.
I used Netbeans, so a JAR file is automatically created.
The only problem is that when I run the Jar file ,the application isn't able to find the connection with the database.
Very annoying, but I do not know how to include it in my JAR file.
Is it possible? Maybe not, because access is from windows, while JAR is independent of the running platform.
If not, is it possible to make it run independently in another way, for example 'exe-file'.
If yes, how?Any ideas...
I've been looking for a couple of weeks, but never found a satisfying solution...
I just want to be able to run the application without the need of netbeans.
Thanks in advance.