Select the Terminate/Disconnect All command [ ] to terminate all the running debug targets in the Debug View. If the target cannot be terminated, it will be disconnected.
Once a launch is terminated it can be automatically removed from the Debug View. To change this setting use the Run/Debug > Launching preference page.
Changing debugger launch options
Connecting to a remote VM with the Remote Java application launch configuration
Disconnecting from a VM
Launching a Java program
Preparing to debug
Resuming the execution of suspended threads
Running and debugging
Stepping through the execution of a program
Execution Control Commands
Remove All Terminated
Terminate and Relaunch
Terminate and Remove