File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Command line arg Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Command line arg" Watch "Command line arg" New topic

Command line arg

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 290

How can i give command line arguments to run the file in Netbeans
ex:java -splash:images/splash.gif SplashDemo

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

You should have a combobox in the "Build Toolbar", with "<default config>" in it. Click it, and select "Customize...". You can set the necessary "Arguments" in this window.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Command line arg