• 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: 17309
11
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 !!!
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!