Results 1 to 3 of 3
- 10-22-2012, 12:01 PM #1
Member
- Join Date
- May 2012
- Posts
- 11
- Rep Power
- 0
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:
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?Java Code:package demo; public class Model { public static void main(String[] args) { System.out.println("Hello World!"); } }
Thank you for your help and best regards,
Tartaglia
- 10-22-2012, 12:48 PM #2
Senior Member
- Join Date
- Jan 2011
- Location
- Rizal Province, Philippiines
- Posts
- 167
- Rep Power
- 0
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
- 10-22-2012, 01:10 PM #3
Member
- Join Date
- May 2012
- Posts
- 11
- Rep Power
- 0
Similar Threads
-
Can't add a library to my build path.
By Astralogic in forum EclipseReplies: 2Last Post: 07-26-2012, 11:22 AM -
Java program to read column & value pairs and build sql scripts dynamically
By Ragurama83 in forum JDBCReplies: 1Last Post: 02-16-2012, 09:24 AM -
cannot resolve com.sun.java import - build path problem?
By chris97is in forum EclipseReplies: 6Last Post: 09-11-2009, 12:34 AM -
[SOLVED] SVN project's build path problem
By er_zhong in forum EclipseReplies: 0Last Post: 04-14-2009, 04:03 PM -
Error :Invalid path, C:\Program Files\Java\j2re1.4.2_06\bin\javac.exe
By silvia in forum New To JavaReplies: 2Last Post: 07-30-2007, 08:55 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks