开发者

Update a JAR file on UNIX system

开发者 https://www.devze.com 2023-04-09 20:16 出处:网络
I have a JAR file on a UNIX system for which owner is a different user. Is 开发者_如何学Cthere a way in which I can add or update a .class file present in the JAR archive?If you have permission to wr

I have a JAR file on a UNIX system for which owner is a different user.

Is 开发者_如何学Cthere a way in which I can add or update a .class file present in the JAR archive?


If you have permission to write to the file then yes, like this:

jar uf foo.jar foo.class
0

精彩评论

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

关注公众号