Right Click on the java file containing public static void main method.
Go to properties - run\debug settings - select class and click edit button on right side.
In arguments tab, provide the...