Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can open JAR file and editing some thing inside file class and create JAR file again ?
Posted

1) Make changes to your java file and compile it to convert it into a class file.
2) Open a jar file using winzip or 7-zip.
3) Drag and drop your changed class in this opened JAR file to its proper location.This step will replace the old class file.
4) Save the Changes.

Please note this can be done for development environment and not recommended for production/UAT environment.

Cheers,
Sudhakar
 
Share this answer
 
v3
You can't, unless you have the source code, or you are expert at editing class files.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900