How to pass the -D System properties while testing on Eclipse?

eclipse, java

Solution

Run -> Run configurations, select project, second tab: “Arguments”. Top box is for your program, bottom box is for VM arguments, e.g. `-Dkey=value`.

Problem

I am developing on Eclipse on Windows and Code gets deployed on Unix. I am fetching the system property values using System.getProperty("key") ... How do I pass this in Eclipse so that I do not have to modify the code and it works on Eclipse for debugging? Any suggestions?

Original source