Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to execute JAR with parameters?

807580Oct 22 2009 — edited Oct 23 2009
Hi all,

Easy points!!!

Maybe this a basic question, but I'm lossing long time trying to understand how can I do that:
I have two classes, one of then in the main class with parameters, I've created the jar file containing these two clases... but I don't know how to send the four paramenters that my main class needs to work by command line.

How can I do that?

Thanks and best regards,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2009
Added on Oct 22 2009
7 comments
217 views