Java: updated class files not used
<p>I'm developing a Java program through Eclipse locally, and debugging on a remote machine. Whenever I make a change to my program, I copy the corresponding class file to the bin directory on the remote machine.  I run my program (a simulator) through a python script via the OS.system command.</p>

<p>The problem is that my program <em>sometimes</em> does not use the updated class files after they have been moved over. </p>

<p>The problem persists even if I log out and back into the remote machine. What's really strange is that, as a test, I deleted the bin directory entirely on the remote machine, and was still able to run my program.  </p>

<p>Can anyone explain this? </p>
