This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Doubt in deliveries and RunTime error in Jar

 
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
 
ranger
Posts: 17346
11
Mac IntelliJ IDE 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 !!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic