Answer Posted / ankit
> jar -cmf <manifestFile> <nameofjarfile.jar><filestobeincluded>
for eg
jar -cmf Whereismain.txt abc.jar xyz
c-tells the jar to create an archive
m-used to create and include manifest file(consist the info
which class contains the main() method)
f-specifies the name of the archive to be created.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What is TL and its use?
What is a policy?
What is a modular application?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What is the purpose of the finally clause of a try-catch-finally statement?
What is the argument type of a programs main() method?
Which class is the immediate superclass of the menucomponent class?
Which container method is used to cause a container to be laid out and redisplayed?
What value does read() return when it has reached the end of a file?
What is the difference between a menuitem and a checkboxmenuitem?
What are the steps to write p-to-p model application?
what is meant by JRMP?
What are the purpose of introspection?
What are the services in RMI ?
What is jboss?