*
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Command line arg" Watch "Command line arg" New topic
Author

Command line arg

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

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


-Chiru
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

(Netbeans6.0)
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Command line arg
 
Similar Threads
how to read character from command line and store it string
ArrayList Problem(s)
Problem During Compilation of EJB Jar with Weblogic.ejbc tool
Complex Number
limit input