Let's say I'm working on File1 in eclipse, which is some java class. When I hit F11, File2 runs. I want a different file, let's call it File3, to run. How do I do this?
Edit:
Let me clarify my question. I don't want to have a shortcut key launch a specific file. I have two java files, both can be independently launched. One is a debug server and the other is a production server. I have a text file that is read by the debug server. When I'm working on something in that text file, I'll quickly hit Ctrl+F11 to run the debug server. However, the production server starts. Thus it would be nice to specifically associate launchable files with unlaunchable files. There are other files (like java classes), that when I hit Ctrl+F11 I want the production server to be run. I was hoping there would be something in the run configurations that would allow me to make this association for certain files or groups of files. From what I see, this isn't option.