Skip to content
Advertisement

Why does Eclipse show multiple application configurations when I try to run my application?

I get this pop up every time I run my project. Will this be a problem in the future?

What I did was building up the project with the same name while changing the name of older builds, any ideas?

Pop-up menu
Pop-up menu

Build tree

  • Windows 10.
  • Eclipse 2021-03 (4.19.0)

Advertisement

Answer

Why does Eclipse show multiple application configurations when I try to run my application?

Because you have created all those configurations in your IDE. That’s specific to IDE, and has nothing to do with Java


I get this pop up every time I run my project.

Because IDE doesn’t know which is the configuration you want to use for running your application.


If the question is:

why do they exist?

You may want to run different main methods, in different ways, with different arguments, and so on. That’s why “Run Configurations” exist, to have a pre-configured running setups – you just choose one of them and run your application accordingly.

Advertisement