Update a JAR file on UNIX system
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
精彩评论