• Post Reply Bookmark Topic Watch Topic
  • New Topic

from *.class to *.java  RSS feed

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i deleted some my *.java files so i'd like to know if there is a way to get them back from *.class files.
thank you
 
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do a google search on java decompilers. There are quite a few out there. What you get back will not be a pretty as what you had of course, and it will be missing any documentation.
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try JAD but I don't think it works past JDK 1.2. You may be able to get around that by changing the 8th byte in the class file from 48 to 46. There are many others listed on a Google.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!