As you see from the title my problem is editing .class files. I've been trying to compile .java to .class, but no luck! I'm getting strange errors. (Using DJ Java compiler/decompiler). My question is does an easy editor exist for .class files ?

Thanks in advance

1 Answer 1


I use the Krakatau disassembler/assembler (disclosure: I wrote it). This lets you edit classfiles at the bytecode level without a lossy (and potentially impossible) roundtrip to Java. You can even edit heavily obfuscated classes this way. Of course, this assumes that you're familiar with the classfile format. If you don't understand bytecode, you're pretty much limited to either learning it (not that hard) or making do with decompilers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.