How can I pass command line arguments to a program via Netbeans?

前端 未结 3 1843
旧时难觅i
旧时难觅i 2021-01-26 13:02

I want to use my args array.

I mean this array:

public static void main(String[] args)

Where can I run something like

3条回答
  •  醉酒成梦
    2021-01-26 14:04

    Check the properties of the java project. There you see the menu item "Run" There you can specify arguments for you commandline.

提交回复
热议问题