|How do I add command-line arguments when running as Java app? [message #267035]
||Thu, 11 December 2008 12:58
| D. Alvarado
Registered: July 2009
I'm using Eclipse 3.4 on WinXP. I want to run a file as a Java
application, so I right-click the file, select "Run As", and select "Java
Application". However at no point in the process am I asked to specify
command line arguments and so my Java app fails with
ArrayIndexOutOfBoundsExceptions b/c "args" has no value.
How do I specify command-line arguments when running Java apps in Eclipse?
Thanks, - Dave
Powered by FUDForum
. Page generated in 0.01677 seconds