Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in deliveries and RunTime error in Jar

 
Ricardo Polero
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys !
I just packed my assignment and I have a doubt.
The people from Sun will unpack all ours jar or execute directly from jar ?
My run-time problem:
I tried to run from Jar and got an error because the program canot be able to find the db.db.
I used "db.db" in the program for open it in Visual Age run ok , but when I tried to run using .bat or any other command line got and error. Would some of you help me !
I want to finish this asap!
Thanks
Ricardo
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My db.db file is not in the executable jar. Maybe that will help you.
Also to be an executable jar, the jar must contain a manifest file that tell which class has the main method.
Mark
 
Ricardo Polero
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, Mark
Thx so much, I tried yesterday and it works !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic