This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes ODBC Access db Problem. Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ODBC Access db Problem. Please Help" Watch "ODBC Access db Problem. Please Help" New topic
Author

ODBC Access db Problem. Please Help

Soumya Ranjan Mohanty
Ranch Hand

Joined: Mar 07, 2010
Posts: 44
How to include MS access database in a JAR file.

Here is my code



Works fine but When i try to do the following this an exception is generated



Actually here i want to put the Access db in my Project class directory and include all in a Jar file. Please Help me.

[jc: removed colors, removed big fonts, placed code tags]
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Hi Soumya,

I have removed colors and big fonts from your mail, and placed your code between code tags.
It is easier to read now.


OCUP UML fundamental and ITIL foundation
youtube channel
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Have a look at this JavaRanch thread. The same question is discussed there.
 
 
subject: ODBC Access db Problem. Please Help
 
Similar Threads
Accessing MS ACCESS [Tomcat SERVER] Problem
no dafault driver specified
about odbc connection
Error in Automatic Creation of ODBC Data Source
Adding Database to application