There used to be a bug in eclipse that prevented a run configuration from redirecting a file to stdin but supposedly it\'s fixed. However, I can\'t find any documentation t
This is the announcement and description of the feature for Eclipse 4.5 (Mars): http://eclipse.org/mars/noteworthy/#_assigning_stdin_to_a_file
Stdin can now be assigned to a file in the Common tab of launch configuration dialogs.
As expected, this is a new feature of the just released Eclipse 4.5 and will therefore not work in an older version.