I am building a server in MC and I managed to change the plugin the way I wanted and now I want to compile that changed .java file to get the .class file and run the plugin on my server. However, I can't figure out how to recompile that specific .java file to generate the new .class file. Does anyone have any suggestions?
My process:
Get the .jar of the plugin and change it to .zip to get the src of the jar
Decompile the class I want to edit, copy the code into a new .java file and delete the .class
(Where I fail) Recompile the .java file to generate the .class
zip the folder and change it to .jar