I've decompiled an application to byte code with jad.exe, but is it
possible to recompile the file again in some easy way? It's not source
code, just a class that I decompiled to byte code, edited and now want
to recompile, but how?
Ike - 12 Jan 2006 15:44 GMT
edit it in djdecompiler, and save it. Make sure when you save it you save it
with the .java extension, and WHERE you save it to.
Now, just go compile the new file you have saved, with whatever means you
typically use to compile a .java filr. -Ike
> I've decompiled an application to byte code with jad.exe, but is it
> possible to recompile the file again in some easy way? It's not source
> code, just a class that I decompiled to byte code, edited and now want
> to recompile, but how?
Roedy Green - 12 Jan 2006 21:06 GMT
>I've decompiled an application to byte code with jad.exe, but is it
>possible to recompile the file again in some easy way? It's not source
>code, just a class that I decompiled to byte code, edited and now want
>to recompile, but how
You disassembled or decompiled. If you decompiled, you just compile
with Javac after some minor tweaks. If you disassembled, you need to
get your code in Jasmin format and compile it . See
http://mindprod.com/jgloss/jasm.html
see http://mindprod.com/jgloss/decompiler.html
http://mindprod.com/jgloss/disassembler.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.