• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unpack and edit .jar files  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone suggest me a single application by which I can unpack .jar file, edit/modify class files in it and then pack it into .jar again.
Thanks in advance,
Santosh
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about using jar ?
# jar xf your.jar
to extract it, and
# jar cf your.jar files
to create it. Has the same syntax like tar in unix.
Olli
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!