How do I change the code on a jar file?

How do I change the code on a jar file?
Answer
How To Edit Class File From A JAR File?
  1. Decompile the JAR file > Import decompiled classes to an IDE (Eclipse, NetBeans, etc.) > …
  2. Extract Java classes from JAR> Modify Java Bytecode > Verify > Repack the JAR file.
  3. Extract Java classes from executable > Modify Java Bytecode > Update the executable with modified classes/files using a command prompt.
26 нояб. 2018 г.
 

Tìm kiếm

Back
Top