I have the following line in a batch file.
java Client \"127.0.0.1\" 9876
It contains the name of my java class and two arguments. My applicatio
From "Run" go to debug/run configurations. Click the tab called "Arguments". You can give the program arguments there.
Run configurations > Arguments tab. Just put "127.0.0.1" 9876 in the program arguments.
"127.0.0.1" 9876