This figure illustrates defining a launch configuration for a runnable file in the Main tab of the Run Configurations dialog box.
Enter a name for the new configuration. Under Project, click the Browse button to navigate to the name of the current project.
Under Main class, click the search button to navigate to the name of the runnable file for which you are creating the runtime configuration.