Passing string buffer to java program in IntelliJ debug/run

Viewed 4011

How does one accomplish equivalent of running following line on command line in IntelliJ or Eclipse .... :

java MyJava < SomeTextFile.txt

I've attempted to provide location of the file in Program Arguments field of Run/Debug Configuration in IntelliJ

3 Answers
Related