"Program arguments" greyed out [message #697476] |
Sat, 16 July 2011 22:44 |
Glen Messages: 1 Registered: July 2011 |
Junior Member |
|
|
From a total newbie.
I am trying to enter "Program arguments" in a "Run Configurations" but the program arguments box is greyed out.
The program requires two parameters:
public static void main(String[] args) throws Exception {
Configuration conf = new Configuration();
String[] otherArgs = new GenericOptionsParser(conf, args).getRemainingArgs();
if (otherArgs.length != 2) {
System.err.println("Usage: wordcount <in> <out>");
System.exit(2);
}
...
There are no errors in the program. I have saved it. I go to Run Configurations > Java Application > Arguments (tab). The "Program arguments" box is greyed out.
In the bottom right of the box, there is the "Variables ..." box, but that seems to be not where I should be doing anything.
RHEL 5.4, Eclipse 3.2. This use of Eclipse is part of a wider framework/application environment and thus the problem cannot be solved by just replacing Eclipse itself.
Any suggestions as to how to proceed.
[Updated on: Sat, 16 July 2011 23:53] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03601 seconds