Results 1 to 3 of 3
  1. #1
    Tartaglia is offline Member
    Join Date
    May 2012
    Posts
    14
    Rep Power
    0

    Default Program does not react to changes after editing Java Build Path

    Dear all,

    for some reason my program does not react to changes anymore when I edit the Build Path. To be specific, after creating my class and entering my code, I add a project and from then on, none of the changes to the source code are implemented and instead the Eclipse runs the last version that was saved before editing the build path. I have tried this with the Hello World program instead of my actual code and still got the same problem:

    Java Code:
    package demo;
    
    public class Model {
    
    	public static void main(String[] args) {
    	     System.out.println("Hello World!");
    		    }
    	
    }
    So for instance if after including the project in the build path I would change something in the code ("Good Morning World" instead of "Hello World"), Eclipse would still run the previous version (so I would still get "Hello World" as the output). Then if I erase the project from the build path, everything works fin again, that is, my changes are incorporated again. Does anyone have an idea, what the cause might be?

    Thank you for your help and best regards,
    Tartaglia

  2. #2
    RichersooN is offline Senior Member
    Join Date
    Jan 2011
    Location
    Rizal Province, Philippiines
    Posts
    167
    Rep Power
    0

    Default Re: Program does not react to changes after editing Java Build Path

    You should use the drop down list beside the run button in eclipse

  3. #3
    Tartaglia is offline Member
    Join Date
    May 2012
    Posts
    14
    Rep Power
    0

    Default Re: Program does not react to changes after editing Java Build Path

    Thank you RichersooN for your quick reply. What exactly would you suggest for me to choose from the drop down list?

Similar Threads

  1. Can't add a library to my build path.
    By Astralogic in forum Eclipse
    Replies: 3
    Last Post: 08-18-2013, 12:10 PM
  2. Replies: 1
    Last Post: 02-16-2012, 10:24 AM
  3. Replies: 6
    Last Post: 09-11-2009, 01:34 AM
  4. [SOLVED] SVN project's build path problem
    By er_zhong in forum Eclipse
    Replies: 0
    Last Post: 04-14-2009, 05:03 PM
  5. Replies: 2
    Last Post: 07-30-2007, 09:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •