Skip to main content



      Home
Home » Newcomers » Newcomers » Debug with -D param
Debug with -D param [message #43435] Wed, 30 March 2005 10:40 Go to next message
Eclipse UserFriend
Originally posted by: frueskens.ricoh-europe.com

Hi all,
I'm new to Java, to eclipse and JAAS. I followed the sample app for JAAS
from sun. While compiling and running from command promt it works fine.
Now I want to be able to debug the code in the IDE of eclipse.

On comand line I have to type:
java -Djava.security.auth.login.config==sample_jaas.config sample.SampleAcn

where as "sample.SampleAcn" is the sample application.

Q: How can I tell eclipse to set the java.security.auth.login.config to
sample_jaas.config?
Re: Debug with -D param [message #43529 is a reply to message #43435] Wed, 30 March 2005 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.gmail.com

Nuna,

Add the -D option to the VM arguments box on the Arguments tab of your
run/debug launch configuration. Select Run->Run... and choose your
launch configuration (or create a new one).

Hope this helps,
- Jeff

Nuna wrote:
> Hi all,
> I'm new to Java, to eclipse and JAAS. I followed the sample app for JAAS
> from sun. While compiling and running from command promt it works fine.
> Now I want to be able to debug the code in the IDE of eclipse.
>
> On comand line I have to type:
> java -Djava.security.auth.login.config==sample_jaas.config sample.SampleAcn
>
> where as "sample.SampleAcn" is the sample application.
> Q: How can I tell eclipse to set the java.security.auth.login.config to
> sample_jaas.config?
>
Re: Debug with -D param [message #44376 is a reply to message #43529] Thu, 31 March 2005 11:42 Go to previous message
Eclipse UserFriend
Originally posted by: frueskens.ricoh-europe.com

Hi Jeff,
I put my setting into the 'VM arguments area' on the 'Arguments' tab as
you mentioned: It works nice :-D

thank you!
Previous Topic:Properties
Next Topic:workspace
Goto Forum:
  


Current Time: Mon Jul 14 23:10:19 EDT 2025

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

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

Back to the top