Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAR file including database connection

843859Dec 26 2007 — edited Dec 27 2007
Hello,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2008
Added on Dec 26 2007
6 comments
1,095 views