• Post Reply Bookmark Topic Watch Topic
  • New Topic

Any Java Class Decompiler?  RSS feed

 
Frankie Chee
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

my harddisk was burnt a few days ago and my project is in it. I hadn't done any backup for it.

I can download them from the webhoster's website but they are in .class machine codes format!

Does anyone know how can I convert them to readable words using a tool or something like that?

Thank you in advance,
Frankie
 
Michael Dunn
Ranch Hand
Posts: 4632
 
Geoffrey Falk
Ranch Hand
Posts: 171
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try the jad decompiler (http://kpdus.tripod.com/jad.html ), which is the one we frequently use, but it is not perfect. There is usually no way to restore compilable source code from class files, although it lets you look at the code and get some idea what is going on. We use jad mostly for debugging.

jad also cannot deal with JDK 1.4 or 1.5 format class files properly, as it has not been updated for some time (at least the free version).

My advice is to use CVS, do regular backups of your repository, and avoid Maxtor storage products :-).

Geoffrey
 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see DJ Java Decompiler.
 
Frankie Chee
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks you very very much guys.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!