• Post Reply Bookmark Topic Watch Topic
  • New Topic

.class to .java  RSS feed

 
budsy remo
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know that how can i convert .class file to .java or better .class to .text .
 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try a java decompiler. I have never tried one though. See this post.
 
Campbell Ritchie
Marshal
Posts: 56522
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor is getting good results with a decompiler called JAD.
 
Rob Spoor
Sheriff
Posts: 21131
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a pretty good one, although it sometimes can't handle exceptions well. Also, it cannot retrieve any form of documentation or the original names of local variables or parameters; only of fields. In the end, nothing is better than the original code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!