I want to use my args
array.
I mean this array:
public static void main(String[] args)
Where can I run something like java Test one two three
?
I want to use my args
array.
I mean this array:
public static void main(String[] args)
Where can I run something like java Test one two three
?
Check the properties of the java project. There you see the menu item "Run" There you can specify arguments for you commandline.
Go to the project properties (either File -> Project properties or richt click on the project in he projects list on the left), select "Run" and there you can set it.