Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Update February 2016:</p> <p><a href="http://www.javadecompilers.com/" rel="noreferrer">www.javadecompilers.com</a> lists JAD as being:</p> <blockquote> <p>the most popular Java decompiler, but primarily of this age only. Written in C++, so very fast.<br> Outdated, unsupported and does not decompile correctly Java 5 and later</p> </blockquote> <p>So your mileage may vary with recent jdk (7, 8).</p> <p>The same site list other tools.</p> <p>And javadecompiler, as noted by <a href="https://stackoverflow.com/users/1377112/salvador-valencia">Salvador Valencia</a> in <a href="https://stackoverflow.com/questions/272535/how-do-i-decompile-java-class-files/272595#comment79458645_272595">the comments</a> (Sept 2017), offers a SaaS where you upload the <code>.class</code> file to the cloud and it returns you the decompiled code. </p> <hr> <p>Original answer: Oct. 2008</p> <ul> <li>The final release of JSR 176, defining the major features of J2SE 5.0 (Java SE 5), has been published on September 30, 2004.</li> <li>The lastest Java version supported by JAD, the famous Java decompiler written by Mr. Pavel Kouznetsov, is <strong><a href="http://varaneckas.com/jad/" rel="noreferrer">JDK 1.3</a></strong>.</li> <li>Most of the Java decompilers downloadable today from the Internet, such as “DJ Java Decompiler” or “Cavaj Java Decompiler”, are powered by JAD: they can not display Java 5 sources.</li> </ul> <p><a href="http://jd.benow.ca/" rel="noreferrer">Java Decompiler</a> (Yet another Fast Java decompiler) has:</p> <ul> <li>Explicit support for decompiling and analyzing <strong>Java 5+</strong> “.class” files.</li> <li>A nice GUI:</li> </ul> <p><img src="https://i.stack.imgur.com/jH9Pd.png" alt="screenshot"></p> <p>It works with compilers from JDK 1.1.8 up to JDK 1.7.0, and others (<a href="https://en.wikipedia.org/wiki/Jikes" rel="noreferrer">Jikes</a>, <a href="https://en.wikipedia.org/wiki/JRockit" rel="noreferrer">JRockit</a>, etc.). </p> <p>It features an online <a href="http://jd.benow.ca/#jd-online" rel="noreferrer">live demo version</a> that is actually fully functional! You can just drop a jar file on the page and see the decompiled source code without installing anything.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload