Carl, On Sunday 16 January 2005 23:04, Carl E. Hartung wrote:
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. ... [/quote]
I think he knows what it does and he is using it correctly.
Try adding the "v" switch to see if you can get more information about the error. What java version are you on?
My Sun 1.4.2 release gives the same error. I think it really is unimplemented in some versions. The 1.5 version seems to support it as documented.
regards,
- Carl
Randall Schulz