• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 555
  • Last Modified:

how do i run multiple input files through eclipse arguments section

im giving a single file at a time in argument section. can i run multiple files at a time in eclipse.
0
siddharthkool
Asked:
siddharthkool
1 Solution
 
Shura85Commented:
Arguments in Java programs are space-delimited.  Then they are parsed into the args[] in public static void main(String[] args) {...}  So, if you are trying to pass in multiple files, just put a space in between the names, then be sure to adjust your code to handle an array with more than 1 entry
0
 
CEHJCommented:
You can add your files as Program Argument in the run config - as many as you want
0
 
siddharthkoolAuthor Commented:
solved
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now