Decompile & recompile single file from jar

折月煮酒 提交于 2019-12-04 13:05:22

when I recompile the JD-decompiled java file and use the resulting class file for repackaging, I get the same failure

This seems to point the finger at JD. When you recompile the JD-decompiled java file, can you compare the result with the original .class file (for example, by disassembling both and comparing the result)? If they differ in substance, that'll lend credence to the theory that JD is at fault; if they don't, then the problem lies elsewhere.

This is the old question.

Nowadays, I found the good method to decompile and repack the jar file.

Here is the good document.

https://www.talksinfo.com/how-to-edit-class-file-from-a-jar/

I recommend the third method in the document.!!!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!