tags:

views:

69

answers:

4

Where is the source code of the Jar program ? Specifically, looking for a way to implement the jar uvf feature to update or append to an existing archive. Looking at this bug report, there seems to be no hope of doing this from the regular Java JAR/ZIP API.

+1  A: 

Unrelated to the question, but perhaps you should also look at Commons Compress to check if provides the feature(s) you want.

Raghuram
+1  A: 

You can download the sources of OpenJDK on the OpenJDK website. From there you will be able to browse the sources of the complete JDK (including the jar application).

Colin Hebert
+1  A: 

Check here: OpenJDK: Core Libraries Group, look for "JAR" on that page. There is list of packages and directories related to this tool. You can download sources from Mercurial or as a source bundle on same site.

Peter Štibraný