CodesJava

Easy learning with example program codes

How to execute command line argument program in eclipse

1. Click on run in eclipse menu.

command line 1

 

2. Click on Run Configurations…

command line2

 

3. You will see program window. Select your program for which you are passing arguments. Then Click on arguments tab. Enter your arguments in program arguments section.

command line3

 

4. Click on run button. Your program will execute.

 
Next Topic: How to read input from command line in Java using Scanner.
Previous Topic: Command line arguments in java with example.

 

Please follow and like us:
error
Posted in Java   








Copyright © 2019 CodesJava DMCA.com Protection Status