Yes it should be sth like that. But i dont use Eclipse. In netbeans, i right click to the project, select project properties, select run parameter tab and set the arguments there.
I found this document for you. If it is not old, it might work:
Help - Eclipse SDK