Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (3.4k points)

What program can I use to decompile a class file? Will, I get Java code, or is it just JVM assembly code?

On Java performance questions on this site, I often see responses from people who have "decompile" the Java class file to see how the compiler optimizes certain things.

1 Answer

0 votes
by (46k points)

Most of the Java decompilers downloadable now from Internet such as “DJ Java Decompiler” or “Cavaj Java Decompiler” are powered by JAD. However, these compilers can't display Java 5 sources.

Java Decompiler (Yet another Fast Java decompiler) has:

  Explicit assistance for decompiling and analyzing Java 5+ “.class” files.

    A refined GUI:

image

To download this compiler click here.

Or, you can also decompile online, check here.

Related questions

0 votes
1 answer
asked Dec 2, 2019 in Java by Anvi (10.2k points)
0 votes
1 answer
asked Nov 25, 2019 in Java by Anvi (10.2k points)

Browse Categories

...