NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Translate command line to Netbeans project properties

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
theluc



Joined: 29 Mar 2010
Posts: 1

PostPosted: Mon Mar 29, 2010 6:57 pm    Post subject: Translate command line to Netbeans project properties Reply with quote

Hello, I'm new to Netbeans. I am trying to run a Java program within Netbeans that I need to edit.

To successfully run the program from Terminal, I type in "java -classpath .:./pns.jar PNSimulator pns.properties".

I have been trying to figure out how I would run this within Netbeans. After opening all the source files in Netbeans and saving as a Java project, I have tried modifying "main class" field and "arguments" field within the "Run" category- unsuccessfully.

Please advise, thanks!
Back to top
Franz
Posted via mailing list.





PostPosted: Tue Mar 30, 2010 7:44 am    Post subject: Translate command line to Netbeans project properties Reply with quote

Hi,

Am 29.03.2010 20:57, schrieb theluc:
Quote:
To successfully run the program from Terminal, I type in "java -classpath .:./pns.jar PNSimulator pns.properties".

I have been trying to figure out how I would run this within Netbeans. After opening all the source files in Netbeans and saving as a Java project, I have tried modifying "main class" field and "arguments" field within the "Run" category- unsuccessfully.

sounds correct, what exactly doe (not) work?
I assume the program is running but ignoring the arguments?

Regards Franz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo