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
Explain about local interfaces.
What does module-relative mean?
Difference between new operator and class.forname().newinstance()?
Explain about thread synchronization inside a monitor?
How database connectivity in XML is achieved?
What is colon_pkg_prefixes and what is its use?
Difference between loadclass and class.forname?
What are the sequence of steps to write pub or sub model kind of application?
What is the argument type of a programs main() method?
What is bean? Where can it be used?
Name three subclasses of the component class?
Write a singleton program?
What is the difference between system.out ,system.err and system.in?
Do we need to override service() method
What is ioc concept?