After you are done coding the program in Eclipse you need to create a runtime application instance to run your program.In that you can specify the command line argument to be used while running the program.
Please note to start the system properties with -Dxx