Questions tagged [jad]

Jad (JAva Decompiler) is a decompiler for the Java programming language.

Jad (JAva Decompiler) is a decompiler for the Java programming language. Jad provides a command-line user interface to extract source code from class files. The most popular GUI for Jad is DJ Java Decompiler. There is also an eclipse plugin called JadClipse.

Jad GUI & IDE's plugins

69 questions
17
votes
4 answers

Configuring eclipse to use jad

I downloaded the jar file and placed it into plugins dir I downloaded the binary and placed it into some other dir I bounced eclipse (Juno - Version: 4.2.0) I updated the jadclipse to point to the correct folder When clicking on a method that…
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
9
votes
5 answers

Is there any Java Decompiler that can correctly decompile calls to overloaded methods?

Consider this (IMHO simple) example: public class DecompilerTest { public static void main(String[] args) { Object s1 = "The", s2 = "answer"; doPrint((Object) "You should know:"); for (int i = 0; i < 2; i++) { …
mihi
  • 6,507
  • 1
  • 38
  • 48
8
votes
4 answers

Recompile decompiled Java (JD / JAD) source that contains goto instructions

(Related question: Java compilers or JVM languages that support goto?) I have decompiled a jar (Legally, for debugging purposes) and want to recompile it. I've used both JAD and JD and both don't compile due to goto instructions E.g. goto…
Eran Medan
  • 44,555
  • 61
  • 184
  • 276
8
votes
13 answers

Is there a way to get jadclipse working with Eclipse 3.4?

I'm a big fan of the Jadclipse plugin and I'd really like to upgrade to Eclipse 3.4 but the plugin currently does not work. Are there any other programs out there that let you use jad to view source of code you navigate to from Eclipse? (Very useful…
Alex Argo
  • 8,920
  • 12
  • 43
  • 46
7
votes
6 answers

JADClipse not working with Eclipse 3.6

Does Jadclipse work on Eclipse 3.6? I have installed Jadclipse 3.3.0 on my Eclipse 3.6 by copying the jar into the plugins directory and restated eclipse. Now I have the jadclipse menu under Windows->Preferences but when trying to de-compile any…
RonK
  • 9,472
  • 8
  • 51
  • 87
7
votes
1 answer

Decompile .class files to .java source code using java libraries

I am working on project of java that needs to decompile .class file to source code, I've found many ways such as such as JAD decompiler and 'javap -p' method... , but I think these methods are cannot be done programatically (please tell if can), Is…
droidev
  • 7,352
  • 11
  • 62
  • 94
6
votes
4 answers

BDD/TDD vs JAD?

I've been proposing that my workplace implement Behavior-Driven-Development, by writing high-level specifications in a scenario format, and in such a way that one could imagine writing a test for it. I do know that working against testable…
Jonathan
  • 32,202
  • 38
  • 137
  • 208
6
votes
1 answer

Why does JD-GUI prefix every line with a comment and line number?

I've encountered this problem several times. Whenever I decompile something and save all the sources using JD-GUI, it prefixes each line with a block comment and inserts line numbers for code in the body of methods. Here is an example from a jar I…
Rabbyte
  • 343
  • 1
  • 3
  • 7
5
votes
5 answers

jadclipse Error during DECOMPILATION REPORT

I am using Eclipse Helios Version and imported an existing project into IDE. This Project is consisting some code in form of Jar files So I have installed Jad Eclipse plugin . Now my question is from the IDE Whenever i click class (Ctrl + Mouse)…
Revathi
  • 1,193
  • 9
  • 19
  • 24
5
votes
2 answers

What are my free and/or open source options for decompiling class files and JARs?

I'm familiar with JAD, and haven't found anything newer or better, but I really didn't look that hard because I had previous experience with the JAD tool. However, I might have missed some really good options out there. Did I miss anything good? If…
Thomas Owens
  • 114,398
  • 98
  • 311
  • 431
4
votes
1 answer

JAD file must reference the JAR file

While trying to publish a java app to the ovi nokia store there's an error - "JAD file must reference the JAR file". What can cause this problem if removing jar file and recompiling project doesn't help?
Sergey
  • 11,548
  • 24
  • 76
  • 113
4
votes
3 answers

Decompiling java with JAD - limitations

I am trying to decompile a couple of jar files using JAD in Java (I tried JD-GUI as well with even less luck), but I get quite a lot of errors. One type (easy to fix) seems to be with internal classes, but I also found this bit of code: static int[]…
Grzenio
  • 35,875
  • 47
  • 158
  • 240
4
votes
3 answers

What would be a more accurate decompiler than jad for Eclipse to get rid of <-MISALIGNED ->?

I have used jad for many years, most of these with the Jadclipse plugin to eclipse which makes it quite usable. Especially with the "Align code for debugging" which allows you to see the decompiled code for any line in a stack trace. Very…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
3
votes
1 answer

Blackberry over the air installation

I uploaded my blackberry application's delivarables to a server. I want my users to install the application from an url. Before uploading to remote server i made tests on localhost. No problem. But when i try to download .jad file from server it…
Muhammet Emre
  • 349
  • 3
  • 17
3
votes
0 answers

How to hide the midlet icon on Nokia phones in J2ME?

I have developed a midlet that is supposed to be invoked using Push Registry only. The user must not be able to manually start the app. I have achieved this by checking if the midlet was not invoked through Push Registry, then exit the midlet…
Ashish Awaghad
  • 2,822
  • 3
  • 24
  • 33
1
2 3 4 5