• August 24, 2014
  • Core Java
  • Comments Off on How to execute command line argument program in eclipse

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.

Related Topics:

Command line arguments in java with example.
How to execute command line argument program in eclipse.
How to read input from command line in Java using Scanner.
Abstract class in java with example.
Interface in java with example.
Custom marker Interface in java with example.
Constructor in java with example.

 


Comments are closed.