Solved

how do i run multiple input files through eclipse arguments section

Posted on 2011-03-18
3
471 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now