Java Class File Editor
What Is the Most Effective Way I Can Decompile & Edit a Class File? I Really Just Want to Edit One Line of Code in the File, However Jbe (Java Bytecode Editor)...
What is the most effective way I can decompile & Edit a class file? I really just want to edit one line of code in the file, however JBE (java ByteCode Editor) isn't letting me change a floating point constant.
Decompiling the class and recompiling will not work, as I have tried this, I get many dependency errors, and name errors. How can I go about this effectively?
Thanks
3 Answers
What I personally like to use and fits exactly your problem:
I am not sure it has been mentioned before or not but i used this when i ran into the similar problem.
The tool is pretty decent, can help you look at the class files fields/methods etc. There is an option on the GUI which can be checked to edit the "values" of fields or soemthing which will reflect directly in class file.
also it's defunct, you can also use builtin IntelliJ decompiler