decompiler
A decompiler with multiple backend support, written in Python. Works with IDA and Capstone.
It appears that the website for the JD Decompiler is down, but fortunately, I found the JAR files for this plugin on my hard drive: jd.ide.eclipse.win32.x86_64_0.1.3.jar
and jd.ide.eclipse_0.1.3.jar
. I put them in the plugins directory of my Eclipse 4.2 Juno installation, but it seems like the plugin doesn't work. Does anyone here have this problem?
Is there anywhere else where I can find this plugin? Thanks!
Source: (StackOverflow)
What program can I use to decompile a class file? Will I actually 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 "decompiled" the Java class file to see how the compiler optimizes certain things.
Source: (StackOverflow)
Does anyone know of a free decompiler that can decompile an entire Jar file instead of a single class? I have a problem with sub classes like name$1.class name$2.class name.class
Source: (StackOverflow)
I wonder if there are any solutions for Eclipse IDE to debug Java code for which I have no source, i.e. to debug dynamically decompiled code, step through it, etc.? I tried to use JD-Eclipse, JadClipse, and these plug-ins work great if I want to look at some class files, but as I debug, I get "Source not found." - how can I "attach" these plug-ins to "provide" source?
My environment:
- Eclipse 3.5
- Windows XP (but I look for a cross platform solution, if possible)
Thank you.
Source: (StackOverflow)
Now I'm trying to find the best java decompiler, I found these:
With these decompilers I handle byte code of this class:
public class ss
{
public static void main(String args[])
{
try{
System.out.println("try");
}
catch(Exception e)
{
System.out.println("catch");
}
finally
{System.out.println("finally");}
}
}
and I got the following results:
fernflower:
public class ss {
public static void main(String[] var0) {
try {
System.out.println("try");
} catch (Exception var5) {
System.out.println("catch");
} finally {
System.out.println("finally");
}
}
}
DJ Java Decompiler:
import java.io.PrintStream;
public class ss
{
public ss()
{
}
public static void main(String args[])
{
System.out.println("try");
System.out.println("finally");
break MISSING_BLOCK_LABEL_50;
Exception exception;
exception;
System.out.println("catch");
System.out.println("finally");
break MISSING_BLOCK_LABEL_50;
Exception exception1;
exception1;
System.out.println("finally");
throw exception1;
}
}
cavaj:
import java.io.PrintStream;
public class ss
{
public ss()
{
}
public static void main(String args[])
{
System.out.println("try");
System.out.println("finally");
break MISSING_BLOCK_LABEL_50;
Exception exception;
exception;
System.out.println("catch");
System.out.println("finally");
break MISSING_BLOCK_LABEL_50;
Exception exception1;
exception1;
System.out.println("finally");
throw exception1;
}
}
http://java.decompiler.free.fr/:
import java.io.PrintStream;
public class ss
{
public static void main(String[] paramArrayOfString)
{
try
{
System.out.println("try");
}
catch (Exception localException)
{
System.out.println("catch");
}
finally {
System.out.println("finally");
}
}
}
I see that the best result in decompiler: http://java.decompiler.free.fr/
To test, I wrote very simple code. What do you think, what code to write to test decompilers? Maybe the idea is to better than a try{} catch(){} finally{}?
Source: (StackOverflow)
Java Decompiler (JD) is generally recommended as a good, well, Java Decompiler. JD-Eclipse is the Eclipse plugin for JD.
I had problems on several different machines to get the plugin running. Whenever I tried to open a .class file, the standard "Source not found" editor would show, displaying lowlevel bytecode disassembly, not the Java source output you'd expect from a decompiler.
Installation docs in http://java.decompiler.free.fr/?q=jdeclipse are not bad but quite vague when it comes to troubleshooting.
Opening this question to collect additional information: What problems did you encounter before JD was running in Eclipse Helios? What was the solution?
Source: (StackOverflow)
Is there a utility (or eclipse plugin) for editing java class files?
I'd like to manipulate the bytecode of a java class file without recompiling it nor having a complete buildpath.
E.g. to rename methods, add/delete instructions, change constants etc.
The only utilities I found are:
classeditor
but it's very limited in functionality (e.g. renaming of things and manipulating instructions isn't possible).
jbe doesn't save changes (maybe because class verifying fails - before I made any changes, although the class runs perfectly)
(jbe initially had a classpath issue, adding the class path to the jbe.bat file helped)
Source: (StackOverflow)
I'm working for ads. My customers give me some APK files of their Apps. My work is insert ads banners into them. After close ads banners, these apps will run.
My question is : How to decode and decompile APK file ?
Source: (StackOverflow)
I know it is not right to do this, but is there any APK decoder/decompiler available around?
[Edit] From all efforts and searching i can conclude that, its not possible to regenerate exact java code from APK. Even re-engineering from DEX file will give procedural steps.
Definitely it will help to understand the code & approach; It will be not at all compilable.
Source: (StackOverflow)
How to decompile an exe file compiled by py2exe?
just one exe file, didn'n have any zip file.
how to decompile to pyc or pyo file?
Source: (StackOverflow)