I have lost my sources but I have my executable .jar file. I want to apply JAD to it. What options to use to start UI with all source tree of .jar file?
Asked
Active
Viewed 1.3k times
4 Answers
3
I'd recommend Java Decompiler

Andreas Dolk
- 113,398
- 19
- 180
- 268
-
@EmmanuelDupuy, Kudos to you for that great tool! Saved me a couple of projects with legacy classes already :D – Andreas Dolk Mar 07 '12 at 20:48
-
Thanks Andreas_D. I am tired to see that people associate the decompilers with the hacking. JD is not tools for the pirates. I did it for me, developers, and security or performance experts. – Emmanuel Dupuy Mar 09 '12 at 19:55
-
3"Erreur 403 - Refus de traitement de la requête (Interdit - Forbidden)" – Mar 04 '15 at 18:54
1
- Download JAD Command..
- paste it in your jdk/bin directory.
- type in cmd [ jdk/bin> jad -sjava example.claass ]
Link below answers u in detail: http://www.papervisions.com/get-java-source-file-from-class-file-how-to/

Onkar
- 11
- 4
-
JAD used to be great, but it is less useful over the years. I'm not sure what the go-to decompiler is anymore, but I don't think it's JAD! The last time I looked at it, it couldn't figure out my Java 7 code. – Mar 04 '15 at 18:58
0
JAD has online, in-the-cloud interface now: http://www.javadecompilers.com/

Andrew Rukin
- 959
- 11
- 16
-
1Technically, that site offers interfaces to a variety of Java decompilers, with the rather ancient and unmaintained JAD being on of them. To quote the site: "given here only for historical reason." – Mar 04 '15 at 18:56
-
Actually, I hope that the topic-starter would choose another, modern decompiler. Why JAD? :0) – Andrew Rukin Mar 20 '15 at 04:31
-3
I mostly use Javadecompilers.com to decode my Jar file. The site can also decode android applications (.APK) which, I think, is very good for those who are beginners in android application development since you can learn from source code !. This is not STEALING. It is just "Break the code to see how it was made so that you can learn from it" !