开发者

How to extract a jar to a particular location?

I am using

jar -xf <name of 开发者_StackOverflow社区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.


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜