Reputation: 155
I have a JAR file on a UNIX system for which owner is a different user.
Is there a way in which I can add or update a .class file present in the JAR archive?
Upvotes: 0
Views: 2450
Reputation: 4079
If you have permission to write to the file then yes, like this:
jar uf foo.jar foo.class
Upvotes: 1