Change .jar file without the source?

女生的网名这么多〃 提交于 2019-12-06 14:26:28

The java decompiler you found (http://java.decompiler.free.fr/) will take the compiled jar file you have and create java source files. You will then have to edit the source files to make the changes you want and recompile.

I would suggest making the host and port configurable via the command line to avoid this issue again.

Copy the jar to system into your workstation and unzip it . Then use a tool like jad to decompile the class you are looking for and make the changes. you should be able to compile it as the jars you need for compilation are the same jars you would need to run your client

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