This discussion is archived
3 Replies Latest reply: Oct 4, 2011 12:52 AM by EJP RSS

How to put an entry into an existing jar file?

887417 Newbie
Currently Being Moderated
Hi friends,

I am wondering how to add a new entry (class file, resource file, etc) into an existing jar file, using Jar AIP programmatically. I have tried using JarOutputStream but it overwrites all the file.

Does anyone have any idea or suggestion?

Edited by: EJP on 5/12/2011 10:10: deleted spam link. Cut it out.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points