Changes to my classes in Eclipse are not reflected when I run the project

3.2k views Asked by At

I recently wiped my disk, but I have numerous backups of all Eclipse-related files. Everything that I need seems to be here, but whenever I make changes to my classes, even after I quit and restart Eclipse, the changes aren't reflected when I run the program. The changes still have been saved in my .java files, but they don't get compiled when I run.

Things I have done:

  • Project > Clean (numerous times)
  • Project > Build Automatically is checked
  • I tried building manually several times to no avail
  • All my hot code replace options are enabled
  • Downloaded a fresh copy of Eclipse
  • Restored my old Eclipse folder from before the wipe

I should be using the same settings as before, back when everything worked, and I haven't changed any operating procedures. The project is a simple game, nothing outside the box. I checked the build path, the only things there are the old class files.

So that's my situation. Thoughts?

1

There are 1 answers

0
Adam Vernam On

Not sure the reasoning behind why it happens, but a quick fix is to copy the class to a separate project, then copy it back. Fixed the issue for me.