Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
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.
You can just do:
unzip -d /path/to/your/directory my.jar
as if the jar file as a zip file.
jar
zip
Add a comment
JARs are packed with ZIP. unzip -d [target-directory] [jar-file] will do the job.
unzip -d [target-directory] [jar-file]
just work with it like the common archive (7z, zip)
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.