aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Edit launch configuration properties wizard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Edit launch configuration properties wizard" Watch "Edit launch configuration properties wizard" New topic
Author

Edit launch configuration properties wizard

siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
Hello,

Can you please tell, in Eclipse IDE "Edit launch configuration properties" wizard , what is the purpose of program arguments & VM arguments.

Thanks,
Siddharth
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
When you run a Java program from the command line, you can add arguments to tell the JVM to act a particular way or to pass information to your application. (That's how the args parameter in your static void main(String[] args) method gets filled.) For example:

The -ea and -DDEBUG_LOW are VM arguments. The arg1, arg2, arg3 are program arguments.

So when you run the program from Eclipse, that screen allows you to enter your VM and application arguments.
 
jQuery in Action, 2nd edition
 
subject: Edit launch configuration properties wizard