Question

I've used DJ Java Decompiler, which has a handy GUI, but it seems as if the latest version is only a trial and forces you to purchase the software after some period of days (I recall using an earlier free version about a year ago at a previous job).

I'm aware of Jad and Jadclipse, but what I loved about DJ Java Decompiler was that it integrated with Windows Explorer - so I could simply open up a JAR in something like WinRAR, navigate thru the packages, and double-click on a .class file to view it's decompiled source.

Can anyone suggest other good, free, .class viewers? The criteria I have in mind for these would be:

  • GUI-based
  • Integrates to Windows Explorer (so I don't have to run some command-line options like with JAD)
  • optional - can also show raw JVM bytecode commands

In other words - I'd like to find the closest thing to .NET Reflector for Java as possible.

Was it helpful?

Solution

Eclipse will allow you to view the bytecode for classes, if the source is unavailable (search for 'disassembled bytecodes').

It seems there is also a third-party plugin that uses asm here.

OTHER TIPS

JAD is one of the best Java Decompiler today. This is one brilliant piece of software. Nevertheless, the last JDK supported by JAD 1.5.8 (Apr 14, 2001) is JDK 1.3.

DJ Java Decompiler, JadClipse, Cavaj and JarInspector are powered by Jad. The last version of Decafe Pro has been released on 2002-01-03.

These viewers can not display Java 5 sources.

So, I use JD-GUI : logic, I'm the author :)

Procyon is a new open source decompiler that already beats JD-GUI in most cases. It's written in Java and comes in a self-contained jar. It is actively developed by StackOverflow's own Mike Strobel.

There was another thread on StackOverflow which linked to http://java.decompiler.free.fr/

Try JDGUI simple, lightweight and fast

I use cavaj

I've used Decafe Pro (can't find the official site anymore) in the past, but the free version won't let you cut-n-paste.

Both of them are front ends to JAD, so they have the same features and limitations with respect to decompilation capabilities.

JarInspector

Jar Inspector is an easy to use yet powerful jar file editor for Mac OS X. It allows you to effortlessly view, edit and decompile the contents of jar files.

Many of these decompilers are based on Jad:

I like the JadClipse Eclipse plugin:

I just published a stand-alone Java Decompiler GUI (based on Jad) which you can get from Util Java Decompiler (JAD based) v1.0

This is a Windows based .NET 4.0 application, which supports the drag n'drop of *.jar files.

It doesn't integrate with Window Explorer, but since this is based on a simple C# script, and the code is Open Source, maybe you could add that feature :)

Another idea would be to also add support for the other free java decompilers.

i use cavaj, simple to install and gives your very good overview of the class, eclipse style.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top