• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse not recompliling on Run

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all. I'm having an odd problem with Eclipse. Up until earlier today whenever I ran something it recomplied the class before running. Then for some reason it stopped and now every time it runs it uses the version of the class that was compiled earlier. If I delete the existing class I get a classdef not found error. If I try to build the project, nothing happens.

Did I turn something off without realizing it? How do I turn it back on? I'm going nuts trying to figure this one out

Thanks
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this happened to me once. I just setup the project again in new workspace.
 
T Haa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, I tried it but it didn't work.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here are a few places to look:

1) Window | Preferences, then Gneeral | Workspace, the check boxes at the top
2) In the project's properties, look under Builders - you should have a Java Build entry that is checked.
3) Are the directories containing your Java source files still marked as source directories?

I'm sure that there are other things that can go wrong, but these are the ones I can think of off-hand.
 
reply
    Bookmark Topic Watch Topic
  • New Topic