Hot Code Replace problem.

Hello,

Up until I reformatted my computer and reinstalled Windows 8 on it, I have not been able to get Hotswapping working again. It worked fine before, but now it wont react at all. I am running a small segment of code to try it out;


public class GameComponent {
	
	public static void main(String[] args) {
		GameComponent gc = new GameComponent();
		gc.run();
	}

	public void run(){
		int x = 0;
		boolean running = true;
		while(running)
		{
			System.out.println("X = " + x);
			x = 2;
		}
	}
}

With this I should be able to run it in Debug mode and change the X value to print something else, but it does not seem to work. All my settings in Eclipse is default and I am having “Build Automatically” checked. Is there any more suggestions? Someone on LWJGL IRC said something about the build path but I think everything is OK there too.

Thanks,