This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Windows Native Jar Equivalent Tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Windows Native Jar Equivalent Tool" Watch "Windows Native Jar Equivalent Tool" New topic

Windows Native Jar Equivalent Tool

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Is there any Windows tool equivalent to JDK's "jar" but is native to Windows without the need to install a jdk? I need to distribute some class files into clients' existing jars who may not have jdk installed.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Any reason you don't just release the updated Jar file, rather than just the changed classes?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Some classes are not created by me. I am patching someone else's work.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
.jar files are essentially just .zip files with a manifest file. If the processing of the file doesn't require changes to the manifest, then any .zip file tool should be able to handle this.
David Newton

Joined: Sep 29, 2008
Posts: 12617

You want the users to patch their own jar files?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Windows Native Jar Equivalent Tool
It's not a secret anymore!