我正在使用
jar -xf <name of the jar> -C <location where jar is to be extracted>
但是我遇到了语法问题。
请让我知道我错在哪里或提供一些示例。
谢谢。
最佳答案
你可以这样做:
unzip -d /path/to/your/directory my.jar
将 jar
文件作为 zip
文件。
关于java - 如何将 jar 提取到特定位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3881413/