It takes too much time to run my application in eclipse

Whenever I run my application in eclipse, it starts building and then it starts. Since I do thousands of classes, it takes too much time to build every time. Can I find out the reason, please, and what should I do to avoid this?

+4
source share
5 answers
Friends

I got an answer to my script:

A line will appear (if required) before the start check button has been marked as true. because of what it builds, even if you created it immediately before launch. Therefore, I will not mark him, on which he works immediately.

Windows> Preferences> Startup / Debugging> Startup

+2
source
  • make sure Project > Build automatically checked
  • righ-click for your project, Properties > Builders and consider removing any redundant builders. Be very careful, as this may disable some of the desired features.
+1
source

"thousands of classes" - there is a problem.

If all this is yours, you cannot help creating .class files when you need them.

I would be surprised if you touched each of these classes. Doesn't Eclipse do incremental builds, but only compile .java files that have changed since the last build? If not, I would see how to do it. Perhaps you can try Ant, which does incremental builds.

0
source

Do you use any external libraries as source files? This can be a problem.

0
source

If these thousands of classes are the libraries you use, you should use Jars.

0
source

All Articles