Solved

Java decompiler

Posted on 2002-03-21
12
451 Views
Last Modified: 2008-03-06
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
Comment
Question by:sagitra
  • 2
  • 2
  • 2
  • +6
12 Comments
 

Expert Comment

by:0xDEADBEEF
Comment Utility
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
 
LVL 35

Accepted Solution

by:
TimYates earned 200 total points
Comment Utility
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
 
LVL 2

Expert Comment

by:sateesh_babu
Comment Utility
Mocha is another nice decompiler. Search the net for mocha, and you will find lots of sites with the software.

Babu
0
 
LVL 2

Expert Comment

by:sateesh_babu
Comment Utility
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
 
LVL 1

Expert Comment

by:harvk
Comment Utility
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
 
LVL 3

Expert Comment

by:jerelw
Comment Utility
"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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 1

Expert Comment

by:skinsella
Comment Utility
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
 
LVL 35

Expert Comment

by:TimYates
Comment Utility
"obfuscated classes cannot be decompiled"

Yes they can...but they generate very hard to read code...
0
 
LVL 8

Expert Comment

by:Exceter
Comment Utility
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
 
LVL 8

Expert Comment

by:Exceter
Comment Utility
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
 
LVL 9

Expert Comment

by:Venci75
Comment Utility
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
 
LVL 5

Expert Comment

by:Netminder
Comment Utility
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now