J2ME disassembler?

J

Joseph

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 ?
 
D

Darryl Pierce

Joseph said:
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.
 
J

Joseph

Darryl said:
Yes, Bytecodes are bytecodes. The only difference is that with the MIDP
the bytecodes are preverified before being loaded onto the device.


Try JAD or javap.

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.
 
D

Darryl Pierce

Joseph said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top