Skip to main content



      Home
Home » Newcomers » Newcomers » running java program with -D option
running java program with -D option [message #103591] Wed, 21 September 2005 12:19 Go to next message
Eclipse UserFriend
Originally posted by: gurupr.gmail.com

Hi All,
I am trying to run a java program in eclipse.

In standard console I would do something like this
java -Djava.security.auth.login.config=jaas.config MyProgram

I can configure eclipse to run MyProgram but am not able to find how to
pass the -Djava.security.auth.login.config=jaas.config to java

Thanks in Advance
Guru
Re: running java program with -D option [message #103616 is a reply to message #103591] Wed, 21 September 2005 12:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nthalank.rdg.boehringer-ingelheim.com

Guru

Can you tell me how you got the standard console.

I too need to pass in memory arguments to start my java app from within
Eclipse.

I see a message 'A console is not available'

Thanks
Naveen
Re: running java program with -D option [message #104381 is a reply to message #103591] Fri, 23 September 2005 11:34 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Guru wrote:
> Hi All,
> I am trying to run a java program in eclipse.
> In standard console I would do something like this
> java -Djava.security.auth.login.config=jaas.config MyProgram
>
> I can configure eclipse to run MyProgram but am not able to find how to
> pass the -Djava.security.auth.login.config=jaas.config to java

Eclipse use Launch Configurations to launch your programs. You need to
edit the Launch Configuration that you are using - on the Arguments tab
there is a field for specifying VM arguments (such as -D property
definitions).

Search Eclipse Help for "running your programs" for all the details.

HTH,
Eric
Previous Topic:USER_LIBRARY
Next Topic:Is there a Newsreader Plug in or product for eclipse
Goto Forum:
  


Current Time: Thu May 08 21:42:43 EDT 2025

Powered by FUDForum. Page generated in 0.11553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top