Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is manifest ?

 
ali rafiq
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can make a jar file easily but what is this i never tried to study about this ... is it necessary to make or it makes by defualt???
 
Paul Done
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This Sun tutorial may help...
http://java.sun.com/docs/books/tutorial/jar/basics/manifest.html
Basically the inclusion of the manifest.mf file is optional depending on what you are try to do. However, many packaging tools often generate one anyway. It can be used for securing a jar, specifying class path dependencies of the jar's contents, specifying the default main class to be able to start the jar app with the command 'java -jar myapp.jar', and other things.
Paul
[ January 16, 2003: Message edited by: Paul Done ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic