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 are the steps to write p-to-p model application?
Can constructors be synchronized in java?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
What method is invoked to cause an object to begin executing as a separate thread?
Can I run seam outside of jboss as?
what is a non-repeatable read?
Explain how will the struts know which action class to call when you submit a form?
How task's priority is used in scheduling?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
What you mean by COM and DCOM?
What must a class do to implement an interface?
What is scalable, portability in the view of J2EE?
Define the remote object implementation?
What’s jboss jbpm?
What are the different types of exception?