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 table mutation and how do you avoid it?
Define the remote object implementation?
Why use a datasource when you can directly specify a connection details?
How to pass parameters in RMI?
How substring() method of string class create memory leaks?
What are the difference between RMI and CORBA?
Why do I get a duplicate name error when loading a jar file?
what is the use of State Factories?
Is the infobus client side only?
Is the ternary operator written x : y ? Z or x ? Y : z ?
Can constructors be synchronized in java?
What are the diff types of exception?
How can I scroll through list of pages like the search results in google?
What is the relationship between the canvas class and the graphics class?
When a thread blocks on i/o?