Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how do i run multiple input files through eclipse arguments section

Posted on 2011-03-18
3
Medium Priority
?
546 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 100 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

773 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