You are doing something wrong. Probably you call 'jar' from the wrong
directory and/or with the wrong parameters.
Be sure to be in the right dir. I have all my project files in folders
called 'week1' , 'week2' , 'week3' , etc. After opening the cmd window
I use cd c:\xxx\yyy\weekX to go to the right directory. From there the
jar command works just fine. Just be sure to use the correct names,
just copying + pasting the command from the assignment works for me.

Marc

On Sep 4, 5:16 am, Terek <[EMAIL PROTECTED]> wrote:
> I recently started this class and Can't figure out how to get my
> homework into zip format to send it in. On the site it says:
>  Zip file of the the <project name> NetBeans project.  (Someone else
> should be able to open and run it as a NetBeans project.)  You can use
> your favorite zip utility or you can use "jar" utility that comes with
> JDK as following.
>
>     * cd <parent directory that contains <project name> directory>
>     * jar cvf <project name>.zip <project name>
>
> Where do I do that at? I've tried it in a command prompt and it
> creates a zip folder named "META-INF' and a file in that folder called
> "MANIFEST.MF". What does that mean and am I doing the right thing?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to