• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accidentally deleted code  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just accidentally deleted the code of my program, but when I compile it, it still runs. How can I get the code back?
 
Ranch Hand
Posts: 99
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you still have the class files, just get a good java de-compiler to get your code back.. Won't be exact match of the original, but will work.
JAD works well.

Cheers,
Philip
 
Maksym Trojanowski
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Philip Thamaravelil wrote:if you still have the class files, just get a good java de-compiler to get your code back.. Won't be exact match of the original, but will work.
JAD works well.

Cheers,
Philip

lol alittle late but thanks alot. Ill know it for next time
 
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use IDE, then you can view history for the particular file.
 
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Maksym Trojanowski wrote:

Philip Thamaravelil wrote:if you still have the class files, just get a good java de-compiler to get your code back.. Won't be exact match of the original, but will work.
JAD works well.

Cheers,
Philip

lol alittle late but thanks alot. Ill know it for next time



you can't expect and answer within ten mins on a forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!