Running An App From A Specified Directory [message #185392] |
Fri, 12 November 2004 09:37  |
Eclipse User |
|
|
|
Originally posted by: hello.hello.com
In Eclipse, is there a way to run your application as if you were
running it from a specified directory?
That is, you want the same effect as doing the following from the
shell:
cd C:\dir1\specified_directory
java MyAppName
I'm guessing there might be some way to do it in the "Run > Run..."
Dialog box, but I can't figure it out.
TIA,
John
|
|
|
|
|
Re: Running An App From A Specified Directory [message #185429 is a reply to message #185392] |
Fri, 12 November 2004 10:23  |
Eclipse User |
|
|
|
Originally posted by: eclipse.rizzoweb.com
John wrote:
> In Eclipse, is there a way to run your application as if you were
> running it from a specified directory?
>
> That is, you want the same effect as doing the following from the
> shell:
>
> cd C:\dir1\specified_directory
> java MyAppName
>
> I'm guessing there might be some way to do it in the "Run > Run..."
> Dialog box, but I can't figure it out.
In the Run Configurations dialog, on the "Arguments" tab there is a
"Working Directory" field at the bottom - that is how you can specify a
working or "run from" directory for each run configuration you set up.
HTH,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.04211 seconds