hello all
i just learn java syntax to extrac jar file we command :

jar xf jar-file

but there no information where the extracted files will be located
and what is the sign if the command successfull or not

any info ?


Member Avatar


"...will be located"?
Try it and find out.
If the files are there... it worked!
If the files are NOT there... it DIDN'T work!

The extracted files are right there at path where the jar file is present. If you run the cmd to extract jar file it doesnt show any message.the way to check for success of cmd is go and check the path where jar file is present. If u see the files which were packed in jar file the cmd is successfully got executed.