title: Eclipse programs not running?
body: <p>I am new to <code>java</code>.  I have just got <code>Eclipse</code> working (somehow) lol. well my programs are running fine until-</p>
  
  <p>I save a program, close out of eclipse, and re-open the program.  when I try to run it the same way that works for all the other programs, I am getting a message asking to "run with ant build".  for some reason <code>eclipse</code> will not run any of my programs that have been closed out and re-opened, but will run new programs just fine.  </p>
  
  <p>does anyone know how to fix this???</p>
  
  <p>thanks</p>
  
  <p>EDIT- i would post an image, but I do not have at least 10 reputation..  what is happening is I go to open <code>file =&gt; C:\Documents and Settings\xxxxxx\workspace\t\src\t (t is the program's name)</code> and then I open it, and run it.  When I run it (either F11 or the run button) it pops up a window saying "select what to run as", and the only options are 2 ant build icons.  Running as ant build does not work, because this isn't an antbuild file.  I created a new program just to test, (from scratch) and everything compiles and runs fine... </p>
  
  <p>everything is compiling and running fine on NEW programs, but I just tried opening a program I created yesterday, and it is giving me the error mentioned above.. it was running perfectly fine yesterday. also, I have JDK installed at home, and I am getting this same exact problem.. JDK isn't the source.</p>
  
  <p>EDIT- i have 10 rep now.  Here's an image of what was happening before the fix</p>
  
  <p><img src="https://i.stack.imgur.com/g1veg.png" alt="problem"></p>