Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

It is taking too much time to run my application in eclipse

Tags:

Whenever i run my application in eclipse it starts building and then runs. As i am haing thousands of classes it taking too much time to build everytime. May i know the reason please and what i have to do to avoid it?

like image 418
GuruKulki Avatar asked Jan 02 '10 19:01

GuruKulki


2 Answers

friends i got the answer for my scenario:

There will be Build(if required) before launch check button was marked true. because of which it builds even if you have build it just before running. So i have unmarked it on which its running immediately.

Windows > Preferences > Run/Debug > Launching

like image 153
GuruKulki Avatar answered Oct 03 '22 23:10

GuruKulki


"thousands of classes" - there's the problem.

If those are all yours, you can't help but create the .class files when they're needed.

I'd be surprised if you were touching every one of those classes. Doesn't Eclipse do incremental builds, only compiling the .java files that have changed since the last build? If not, I'd look into setting it up to do so. Maybe you could try Ant, which does do incremental builds.

like image 33
duffymo Avatar answered Oct 03 '22 23:10

duffymo