Como usar os argumentos da linha de comando no Java Eclipse
go to run->run configurations->select arguments tab->enter your arguments
using space or enter in between.
use args[i] in the program to access it.
Fair Falcon