Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to pass command line args in eclipse3.0

 
Srinivasa Maddi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
Can any one tell me how to pass command line arguments in ide like eclipse.If possble pls give an example.thank u
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right click on the class choose run as.. run.

Type in the arguments you need under the argument tab and press run.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic