Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将文件提取到 jar 文件中,我可以用命令提示符做什么吗?
将文件插入/压缩到 jar (foobar.jar)
jar cvf foobar.jar foo.txt bar.txt
提取所有这些
jar xvf foobar.jar
例如仅提取 foo.txt
jar xvf foobar.jar foo.txt