Re-compile a Java Class from Jar

后端 未结 6 1338
长情又很酷
长情又很酷 2020-12-16 05:08

I have an executable jar that has one class file with a wrong value. I requested that file from the author and corrected the value.

Now I want to compile it and add

6条回答
  •  庸人自扰
    2020-12-16 05:32

    I'm just guessing, but did you check whether it doesn't need any external jar libraries you may have to include in your compilation command? Another thing you could do is to compile all of the classes by doing something like

    javac *.java ...
    

提交回复
热议问题