• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Final Packaging "scjda-srXXXXXXX.jar" question!

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My scjda-srxxxxxxx.jar structure :




Meta-inf folder was generated automatically by "jar cvf scjda~~.jar ."

Is this correct ?

But, if uses "jar cvfM option , META-INF folder is not generated.



Which one is corect ?


[ February 19, 2007: Message edited by: james bonds ]
 
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, this is very very very natural and healthy thing.
I have submitted my jar file in the very same structure you mentioned,
but did not get an automatic failure.
 
james bonds
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you use M option when made a jar? or not ?

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jar - cf
 
james bonds
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, Thanks

Did somebody used M option?
 
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The executable JAR containing the programs. This must be called runme.jar



my assignment says file name should be runme.jar

java -jar <runme.jar> [alone|server|client]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!