1

Possible Duplicate:
java bytecode editor?

I'm looking for a java Byte-code editor with following features minimum.

  1. GUI - simple to load class files and view the byte code
  2. Edit the java byte code and save it
Community
  • 1
  • 1
Isuru
  • 7,893
  • 8
  • 30
  • 38
  • There is very rarely a good reason to do this. If we knew why you wanted to do this, perhaps we can suggest a better alternative. – Peter Lawrey Oct 22 '12 at 10:51
  • Yes, what are you trying to do? – Aniket Inge Oct 22 '12 at 10:53
  • @PeterLawrey just for the fun, I like to do some hacking on a .class file. – Isuru Oct 22 '12 at 10:54
  • The simplest solution is to obtain the source or decompile the class if you have to, edit it and use the that. – Peter Lawrey Oct 22 '12 at 11:09
  • @PeterLawrey I already hacked that way, I needed to try byte-code hacking also, this is just for learning purpose, try out different ways of doing things. – Isuru Oct 22 '12 at 14:30
  • Hacking the byte code doesn't let you do much you can't do from Java so there is little advantage in doing so. – Peter Lawrey Oct 22 '12 at 14:32
  • @Peter, it lets you do tons of stuff you can't do from Java. Though mostly, it's a matter of curiosity rather than practical use. But two cases where it is important are obfuscation and interfacing non-java bytecode. – Antimony Mar 30 '13 at 21:24

1 Answers1

1

Google jasper and jasmin. Also check out Disassembler Debugger for Java. I don't think there is any 'GUI' based implementation, although i can be wrong.

Community
  • 1
  • 1
Aniket Inge
  • 25,375
  • 5
  • 50
  • 78