Each individual Java project is associated with a launcher, which handles the details of launching a Java program in particular circumstances. For example, a different launcher is required to debug a program that is running on a local machine as opposed to debugging the same program running on a remote machine.
If no launcher is set for a project, you will be prompted for one every time you launch any program contained in it.
1. |
In the Packages view, select the project. |
2. |
From its context menu, select Properties. |
3. |
Select the Launcher page. |
4. |
In the Run/Debug list, choose the launcher that you want to associate with this project. |
5. |
Click OK when you are done. Every time you launch a Java program in the selected project, this launcher will be used. |