I'm using Eclipse, and I need to pass a set of VM arguments to my run configurations. I know how to do it individually using "Run/Debug Settings". And I know how to do it systemwide using Window/Preferences/Java/Installed JREs.
My problem is that I have multiple projects that require different VM arguments. Also, within each project, I have a number of classes to run, so if I go with "Run/Debug Settings" route, duplicating run configurations would be tedious. Even more tedious would be changing individual values inside all of these configurations when I have to make such change.
Is there any way to maintain project-specific run configurations in Eclipse?
First Configuration:
Second Configuration:
Associate the configured JRE to relevant project, then project will have the default configured VM arguments.