How do you recompile a jar file?

后端 未结 4 1087
你的背包
你的背包 2021-01-01 00:28

I took an old jar file and edited it. Now i have a folder that has all the files and I want to recompile them back to a jar file. How do i do this?

4条回答
  •  耶瑟儿~
    2021-01-01 01:05

    Jar files usually contain compiled java files (class-files) and resources. If you are allowed to make changes on this jar, you could disassemble the class files using JAD and after recompilation assemble them again with the command jar

    How did you edit a jar file, hex editor?

提交回复
热议问题