Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse not updating build (even with auto-build and cleaning project)
Eclipse not updating build (even with auto-build and cleaning project) [message #1330892] Sat, 03 May 2014 22:31 Go to next message
Patricia Miguel is currently offline Patricia MiguelFriend
Messages: 1
Registered: May 2014
Junior Member
I googled this and found a few questions on other forums asking about the same. But the suggestion given in those questions is to clean project or check auto-build is enabled. The thing is, I did all of that and I still don't get Eclipse to update my build. I downloaded the latest Eclipse Java EE IDE for Web Developers (Kepler, release 2) a week ago and I don't have the android SDK installed (the only "add-on" I installed to Eclipse is Tomcat 7).

Just to test this, I created a new java project with only this code:
public class test {

    public static void main(String[] args) {

When I run it, I get "2" printed on console. But then I change 10/5 to 2/5, clean the project and run it again. Still printing "2".

I uncheck the auto-build option and then manually go to Project > Build Project, then run it again. Still printing "2".

Then I refresh (F5) the project just in case, and run it again. Still printing "2".

Refresh (F5) again, build project manually, run. Still printing "2".

What is wrong with Eclipse???

It does this with all my projects, not just this one (which is a very small project I created to test this behavior).

Any hints on what I can do? Thanks.
Re: Eclipse not updating build (even with auto-build and cleaning project) [message #1366659 is a reply to message #1330892] Mon, 19 May 2014 12:15 Go to previous message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 131
Registered: February 2010
Location: Bangalore, India
Senior Member
Did you check the time stamp of .class files? Are the files getting modified after you do the file editing ?

Sarika Sinha
JDT Programmer
Previous Topic:Eclipse Classic
Next Topic:How to use toggle comment API in JDT
Goto Forum:

Current Time: Mon May 20 20:49:09 GMT 2024

Powered by FUDForum. Page generated in 0.03512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top