How to remove launch configuration histories in ec

2019-03-10 20:11发布

问题:

Right click an arbitrary existing project in Package Explore, choose "export..." - "Java" - "Runnable JAR file", I find all the old projects in the "launch configuration" list. Those projects have already been removed from the disk, and are not visible in the Package Explore. How can I remove them from that list? I'm using eclipse indigo.

回答1:

Under Window...Preferences...Run/Debug...Launching...Launch Configurations, you can activate and deactivate some filters that restrict what is shown in Run...Run Configurations. I think it is what you are looking for.



回答2:

This question seems to be well answered here, however, to make changes I have simply deleted every undesirable launch configuration from the below path.

${WORKSPACE}/.metadata/.plugins/org.eclipse.debug.core/.launches/Delete all the .class LAUNCH Files

After deleting the files, it is necessary to restart Eclipse for the changes to take effect.



回答3:

Eclipse menu -> Run -> Run Configurations... pops up the list of all viable run configurations, grouped by type. You are looking for those under Java Application. Any of these are deletable. Delete them and they will no longer show up in Run/Launch configuration lists.



回答4:

  • Go to Run->Run configuration. Delete the existing saved projects under the Java Application.
  • Run the class, having main method from eclipse. It will be automatically set.
  • create runnable Jar.


回答5:

Go to Run->Run configuration. Delete the existing saved projects under the Java Application.

Then run the class, having main method from eclipse. It will be automatically set.

Now create runnable Jar.