- Right-click on your project or Java class file which you wants to execute.
- Go to Debug As > Debug Configurations or Run As > Run Configurations option. this will open a new pop-up window as shown is below screen shot.
- Click the tab Arguments.
- Enter in your Program Arguments. e.g. agr1, agr2
- Click Apply or Run
Add command line argument in Java using Eclipse IDE |
Good Blog Article.Thanks for Sharing information.
ReplyDeleteKubernetes Training Hyderabad
Kubernetes Training in Ameerpet
Docker and Kubernetes Training
Docker Online Training Hyderabad
Kubernetes Online Training Hyderabad
Docker and Kubernetes Training in Hyderabad
Docker and Kubernetes Training in Ameerpet
Kubernetes Online Training
Docker Online Training
Docker Training in Hyderabad
Docker and Kubernetes Online Training