Originally posted by Steve Taiwan:
I am ready to submit my assignment and am preparing my jar file.
However, when using jar command line to create a jar file, the MANIFEST.MF must be automatically created and attached with the jar file. Is this allowed by SUN? Can I use zip file??
Thank you if replying to me.
Since the instructions say "your submission must be packaged in a JAR file", and a Jar file is defined by Sun to be a Zip file with a manifest, I suspect the manifest is alright, maybe even required. Note that the assignment itself came in a Jar file with a default manifest.
If you want to build a Jar file without a manifest the M flag will allow you to do that. eg.
would put all the files and directories in distribution into jar file submission.jar without a manifest.