On Mon, 2005-01-17 at 09:07 +0530, manoj@in.effectsoft.com wrote:
Hi all,
I want to update a file in the existing jar file. I m using the following command for that on Suse 9.2:
jar uf test.jar dira/abc.txt
The response is: jar: '-u' mode unimplemented.
Now i want to know there is some problem in my usage or the update for jar file is not yet supported.
Regards Manoj Kumar
Hi Manoj, ~#:info jar [quote] u Updates an existing JAR file by adding files or changing the mani‐ fest. For example: example% jar uf foo.jar foo.class adds the file foo.class to the existing JAR file foo.jar, and example% jar umf foo.jar updates foo.jar's manifest with the information in manifest. v Generates verbose output on stderr. [/quote] Try adding the "v" switch to see if you can get more information about the error. What java version are you on? regards, - Carl