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
2010-10-01 06:22:56
+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
2010-10-01 06:25:57
+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ý
2010-10-01 06:26:36
A:
A recent source file at http://hg.openjdk.java.net/jdk7/tl/jdk/file/6bc450d87125/src/share/classes/sun/tools/jar
Roman A. Taycher
2010-10-01 06:56:57