How to set an argument to my project [message #66513] |
Thu, 19 May 2005 13:30 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: aaa.bbb.com
I'd like to pass an argument into a Java class, how do I config this, do I
have to create a new Builders for the project?
thanks.
|
|
|
Re: How to set an argument to my project [message #66637 is a reply to message #66513] |
Thu, 19 May 2005 14:01 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eclipse.rizzoweb.com
Scottie wrote:
> I'd like to pass an argument into a Java class, how do I config this, do I
> have to create a new Builders for the project?
You run Java programs in Eclipse using what is called a Launch
Configuration. There are several ways to create a Launch Config, one of
which is to right-click on the class (the one that has a main(String[])
method) and choose Run... from the pop-up menu.
You can also Choose Run > Run... from the main menu bar and create a
Launch Config form scratch.
In either case, there is an Arguments tab for launch configs where you
can specify program arguments.
Also see the Eclipse help for more info on Launch Configurations.
HTH,
Eric
|
|
|
Re: How to set an argument to my project [message #67044 is a reply to message #66637] |
Fri, 20 May 2005 13:26 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: aaa.bbb.com
Oh Eric! I can. Thanks a lot.
"Eric Rizzo" <eclipse@rizzoweb.com> wrote in message
news:d6i6aq$u0u$1@news.eclipse.org...
> Scottie wrote:
>> I'd like to pass an argument into a Java class, how do I config this, do
>> I have to create a new Builders for the project?
>
> You run Java programs in Eclipse using what is called a Launch
> Configuration. There are several ways to create a Launch Config, one of
> which is to right-click on the class (the one that has a main(String[])
> method) and choose Run... from the pop-up menu.
> You can also Choose Run > Run... from the main menu bar and create a
> Launch Config form scratch.
>
> In either case, there is an Arguments tab for launch configs where you can
> specify program arguments.
>
> Also see the Eclipse help for more info on Launch Configurations.
>
> HTH,
> Eric
|
|
|
Powered by
FUDForum. Page generated in 0.08389 seconds