Mailinglist Archive: opensuse (3901 mails)

< Previous Next >
Re: [SLE] Suse9.2 does not support updation of jar file
  • From: "Carl E. Hartung" <suselinux@xxxxxxxxxxxxx>
  • Date: Mon, 17 Jan 2005 02:04:10 -0500
  • Message-id: <1105945450.14381.6.camel@xxxxxxxxxx>
On Mon, 2005-01-17 at 09:07 +0530, manoj@xxxxxxxxxxxxxxxxx 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


< Previous Next >
Follow Ups
References