Modifying a Java program to run continuously (analyze) through many input words instead of one at a time

I have downloaded a Java program that contains an executable .jar file and all of the source code that goes along with it: .CLASS and .java files (please forgive my amateur descriptions).  The program runs on the windows command line and does the following: the user types in "java -jar Uqailaut.jar" and then a word in the Inuit language Inuktitut, for example "java -jar Uaqilaut.jar kiluutaq" and presses enter.  The program then outputs an analysis (i.e. parse) of that word in terms of its different morphological components; the resulting output for "kiluutaq" is:
{kilu:kiluaq/1v}{utaq:ut/1vn}
{kilu:kiluk/1v}{utaq:ut/1vn}
Where the two lines represent two possible decompositions of the word.  I would like to analyze all the words in an entire 50,000 word+ corpus using this program, but obviously I can't be doing it one word at a time!  So my question is, how can I get the program to run automatically over a large text file, and preferably output a text file (in a perfect world the output would only include the first optional analysis/parse, but I think I can figure out how to clean that up after the fact.  Thank you in advance for any suggestions, or places to start, you might have.
MarkMcAndrewsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BullockQA EngineerCommented:
The manifest file in the jar will tell you which class runs. To get that file, run this command from your command line:
jar -xf Uaqilaut.jar
Then open META-INF/MANIFEST.MF using WordPad.
Look for a line which contains: Main-Class: classname

If you don't have the jar command, from your command line:
java -version
then download and install the JDK SE for the same version from java.com

When you know which class runs, edit classname.java
Then you can view the Java source code and modify it to suit your purpose.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MarkMcAndrewsAuthor Commented:
Dear Mark, thanks so much for your help.  I have identified the MAIN.Class in the jar.  I will post another question asking how to modify this .java file.  Thank you!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.