Women in Technology

Hear us Roar



Subject:   type "jar cvf onjava.war" where with what?
Date:   2005-12-21 01:27:20
From:   sharad_pratap
Response to: type "jar cvf onjava.war" where with what?

when we creating war file by the use of command on command prompt >jar -cvf sharad.war


then what is cvf(its full form)

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • type "jar cvf onjava.war" where with what?
    2006-04-14 03:11:35  java_javaonly [View]

    jar means it is creating java archives

    c --- creating
    v - verbose name
    f --file

    here onjava.war file is created in directory where ur java is running ie jvm eg:

    d:>jar -cvf first.war second

    here u are creatin g war file of name first which will contain all files prsent in second(file name)
    if it is present inD drive

    actually they are nothing but like our zip files
    which will occupy less pace on harddisk
    that s it