Eclipse hot code replace is not working

5k Views Asked by At

When I run my program in debug mode and try to use hot code replace feature, it just doesn't change anything in running application and there no error window is shown. I am using eclipse version 3.6.2, JVM 1.6 and Windows 7. I have "Build Automatically" checked, I unchecked "Abort build when build path errors occur", but nothing helps. (And I am not creating/deleting methods or something like that.)

2

There are 2 best solutions below

0
On

Right click on the project. Go to properties->Java Build Path->Projects tab. See if there is any project dependency which does not exist. Remove those projects.

Try hot deployment again. For me that fixed the issue.

2
On

Check if Build Automatically is ticked (✓). This would Build your project automatically on Hot code replacement. This worked for me!