1

I am using

jar -xf <name of the jar> -C <location where jar is to be extracted> 

But i am getting issues with the syntax.

Please let me know where i am wrong or site some example.

Thanks.

3 Answers 3

3

You can just do:

unzip -d /path/to/your/directory my.jar 

as if the jar file as a zip file.

Sign up to request clarification or add additional context in comments.

Comments

1

JARs are packed with ZIP. unzip -d [target-directory] [jar-file] will do the job.

Comments

0

just work with it like the common archive (7z, zip)

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.