hi,
It's like tar utility in *nixes.
c for create, x for extract etc.,
jar usually found on the JDK installation path. If you don't get jar
at command line, you also don't gets javac and java either.
So set path first.  which may vary according to platform, but a simple
googling will do  it.

Arun.K.R

On Feb 25, 9:10 pm, [email protected] wrote:
> I found the answer in an earlier post. I did not specify the path to
> the jar utility. Thank you.
>
> In case someone face with same issue, I will put it here. Do it like
> this:
> </path/to/jdk>/bin/jar cvf projectname.zip projectname
>
> On Feb 25, 5:47 pm, [email protected] wrote:
>
> > Hi. I have just completed my first homework. I would like to zip it
> > using the jar utility as described in the homework literature but
> > failed.
>
> > I was working from the cmd and in the parent directory. Screen output
> > are as such:
> > C:\Users\Administrator\Documents\NetBeansProjects>jar cvf
> > MyOwnProject.zip MyOwn
> > Project
> > 'jar' is not recognized as an internal or external command,
> > operable program or batch file.
>
> > Thank you

--~--~---------~--~----~------------~-------~--~----~
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