Setting a startup project in Eclipse

Coming from Visual Studio, it is not immediately obvious how to set a specific project as a ‘startup’ or launch project (i.e. the project that will be run by default). In VS, you just right click the project and choose ‘Set As Startup Project’. Here’s how to do it in eclipse:

  1. Go to Window -> Preferences -> Run / Debug -> Launching
  2. Set the ‘Launch Operation’ as appropriate.