What program to use to disassemble a class file to il code?
Printable View
What program to use to disassemble a class file to il code?
IL bytecode.
Search the net for Java decompiler. Don't do anything illegal with it.
db
Ok.But I get clear java .I whant something like this:.source hello.java
.class hello
.super java/lang/Object
.method <init>()V
.limit stack 1
.limit locals 1
.line 1
aload_0
invokespecial java/lang/Object/<init>()V
return
.end method
.method public static main([Ljava/lang/String;)V
.limit stack 2
.limit locals 1
.line 5
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc "Hello World"
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
.line 6
return
.end method
With japser I have problems.
You can use the javap command to do this.
But the output is different from the jasper output
I want to disassembly with jasper and assembly with jasmine.But I get error when I try to disassembly PrintStream.class