Command Line Arguments
Code Warrior:
Edit -> Java Application Settings -> Target ->
Java Target
Input the arguments in the Parameters box.
Microsoft J++:
- Open workspace.
- Locate the class that contains main and open it.
- Go to Project->"<LifePlayer>
Properties" (where <LifePlayer> is your main class)
- In the Launch tab, click on the radio button labelled
"Custom"
- Under this you will see settings for Programs (don't
touch this) and
Arguments: /p /cp:p "<JAVAPACKAGES>" LifePlayer
- Append the command-line arguments to the end of this,
e.g.
Arguments: /p /cp:p "<JAVAPACKAGES>" LifePlayer 5x5 C
initLife.data