• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Accidentally deleted code

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Windows XP Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic