Solved

how do i run multiple input files through eclipse arguments section

Posted on 2011-03-18
3
503 Views
Last Modified: 2012-06-27
im giving a single file at a time in argument section. can i run multiple files at a time in eclipse.
0
Comment
Question by:siddharthkool
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:Shura85
ID: 35167722
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
 
LVL 86

Accepted Solution

by:
CEHJ earned 25 total points
ID: 35172941
You can add your files as Program Argument in the run config - as many as you want
0
 

Author Closing Comment

by:siddharthkool
ID: 35195621
solved
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question