Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ODBC Access db Problem. Please Help  RSS feed

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
Bartender
Posts: 2633
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jan Cumps
Bartender
Posts: 2633
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this JavaRanch thread. The same question is discussed there.
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!