[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: a simple question-how to do "java Sample 30 5" in eclipse?

"Este" <harmonizedchaos@xxxxxxxxx> wrote in message 
news:16423eb21a1cc011b78769ea62e9e8c2$1@xxxxxxxxxxxxxxxxxx
> If you use the command-line environment to compile and run a java program 
> called Sample.java instead of using Eclipse, you could compile by writing 
> "java Sample 30 5" or replace the 30 and 5 with other numbers (lets 
> suppose the Sample.java needs 2 int inputs). How would you do the 
> equivalent of that when using Eclipse?

See the "arguments" tab on the launch configuration dialog.