Hi,
I have used this Java SDK disassembler before:
http://kpdus.tripod.com/jad.html#download
This worked well. I don't know, perhaps it's ok for J2ME as well
(because J2ME uses the same compiler, or not?)...
Joseph schrieb:
> I recall that with java applets (bytecode) you can use a disassembler
> to reverse compile and so output a source code .java file from any
> .class file. Is this still true with J2ME bytecodes? Can you still
> achieve the same effect?
>
> What are some good disassembler for java ?
> I recall that with java applets (bytecode) you can use a disassembler
> to reverse compile and so output a source code .java file from any
> ..class file. Is this still true with J2ME bytecodes? Can you still
> achieve the same effect?
Yes, Bytecodes are bytecodes. The only difference is that with the MIDP
the bytecodes are preverified before being loaded onto the device.
> What are some good disassembler for java ?
Try JAD or javap.

Signature
Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard
Joseph - 27 May 2005 16:08 GMT
> > I recall that with java applets (bytecode) you can use a disassembler
> > to reverse compile and so output a source code .java file from any
[quoted text clipped - 12 lines]
> Visit my homepage: http://mcpierce.multiply.com
> "By doubting we come to inquiry, through inquiry truth." - Peter Abelard
Because its preverified. Wouldn't that means java disassembler won't
be able to deal with it? as it requires pure bytecode. Does preverify
do anything to the bytecode? I know that it changes the size of my
compiled j2me.
Darryl Pierce - 31 May 2005 01:38 GMT
>>>I recall that with java applets (bytecode) you can use a disassembler
>>>to reverse compile and so output a source code .java file from any
[quoted text clipped - 9 lines]
>
> Because its preverified.
So?
> Wouldn't that means java disassembler won't
> be able to deal with it? as it requires pure bytecode. Does preverify
> do anything to the bytecode? I know that it changes the size of my
> compiled j2me.
It does nothing to it that would bother the a decompiler. Have you
actually *tried* JAD yet?

Signature
Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard