AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NetBeans project run arguments

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Wed Oct 25, 2006 1:10 am    Post subject: NetBeans project run arguments Reply with quote



Hi

My company has just switched from IntelliJ to Netbeans and I'm having
problems getting the correct run arguments passed to my main class.

I have three strings that need to be passed:

MFEXEC U TST

I've added the above phrase to the arguments field of the project "run"
dialog. Yet when I debug the first line of my main() method nothing is
getting passed in.

This worked fine in IntelliJ.

Does anyone have any ideas?

Thanks

Elliot
Back to top
Mishagam
Guest





PostPosted: Wed Oct 25, 2006 4:35 am    Post subject: Re: NetBeans project run arguments Reply with quote



eselick (AT) gmail (DOT) com wrote:
Quote:
Hi

My company has just switched from IntelliJ to Netbeans and I'm having
problems getting the correct run arguments passed to my main class.

I have three strings that need to be passed:

MFEXEC U TST

I've added the above phrase to the arguments field of the project "run"
dialog. Yet when I debug the first line of my main() method nothing is
getting passed in.

This worked fine in IntelliJ.

Does anyone have any ideas?

Thanks

Elliot

I tried with NetBeans 5.0 - set main project, set Main Class to class I

wanted to test and set run arguments in project properties, started
"Debug Main Project", set breakpoint to first statement in main() -
arguments were passed OK.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.