• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

Java decompiler

I need to decompile a large No. of class files (around 200) in short time.

Which one of the java decompilers is the best decompiler?
0
sagitra
Asked:
sagitra
  • 2
  • 2
  • 2
  • +6
1 Solution
 
0xDEADBEEFCommented:
Didn't you keep the sources?

Anyway, 200 class files is not that much, so any will do. You'll spend much more time looking for a 'good' one this way than it'll take to actually decompile the class files. Try google for "java decompiler"

Hope this helps.
0
 
TimYatesCommented:
go for JAD, a command line decompiler...

http://kpdus.tripod.com/jad.html

the site is down at the moment though, as he has exceeded his bandwidth...

Should be up in an hour or two...
0
 
sateesh_babuCommented:
Mocha is another nice decompiler. Search the net for mocha, and you will find lots of sites with the software.

Babu
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sateesh_babuCommented:
OK I have done it for you..
This is the site with the ZIP file.
http://www.brouhaha.com/~eric/computers/mocha.html

Babu
0
 
harvkCommented:
JAD, Mocha, JDeveloper, all can decompile efficiently.
*HOWEVER*, obfuscated classes cannot be decompiled. And if you have a commercial or other serious piece of software, you may expect obfuscation.

0
 
jerelwCommented:
"obfuscated classes cannot be decompiled"
I did not know this.

harvk, can you please show me a class that cannot be de-compiled?

I wrote a little java de-compiler and I'm concerned that I may not work.
0
 
skinsellaCommented:
jerelw,

why don't you test it out yourself by obfuscating a jar file using the free and excellent retroguard obfuscator at http://www.retrologic.com/ and see how your decompiler handles it!

Sean
0
 
TimYatesCommented:
"obfuscated classes cannot be decompiled"

Yes they can...but they generate very hard to read code...
0
 
ExceterCommented:
I'd also use JAD for this. Simply type jad *.class and zap! It will decompile them all. Whose program are you decompiling anyway?
0
 
ExceterCommented:
I'd also use JAD for this. Simply type jad *.class and zap! It will decompile them all. Whose program are you decompiling anyway?
0
 
Venci75Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: TimYates
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 
NetminderCommented:
Per recommendation, force-accepted.

Netminder
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
  • 2
  • +6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now