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 aop(assepct oriented programing)?
What are the diff types of exception?
What is Stream Tokenizer?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
How messaging services are done, before release of JMS?
What are externizable interface?
Name three subclasses of the component class?
What is the difference between static and non-static with examples?
When a thread blocks on i/o, what state does it enter?
What is a class loader?
How are the elements of a borderlayout organized?
What are the pros and cons of detached objects?
What is RMI and what are the services in RMI?
Is there a guarantee of uniqueness for entity beans?
What is metaspace?