Reputation: 189686
Title pretty much says it all. I'm moving to a new computer setup and I have to run an Eclipse configuration with a -Dvar=value
argument. I forget where to put this in Eclipse. The debug configuration arguments tab doesn't seem to be the right place.
What are these parameters called and where do I enter them in a debug configuration?
Upvotes: 0
Views: 665
Reputation: 47608
Create a launch configuration, go to the Arguments tab and enter them in the "VM argument" field
Upvotes: 2
Reputation: 115328
Select from main menu Run/Debug Configurations, then choose your debug configuration or create new. Select tab "Arguments" and add your -D...
to "VM arguments" text area.
Upvotes: 1
Reputation: 691755
It is the right place. You have to put them inside the VM arguments text area.
Upvotes: 1