I have a Java file that I run in the command line like like this:
Java program_file_name<input.txt>output.txt
The Scanner class in the Java file takes in a text file as input and I want it to produce a text file as output, pretty standard stuff.
I looked at the following page: How do you input commandline argument in IntelliJ IDEA?
and tried putting
<input.txt>output.txt
into the program arguments field in run/debug configurations. The output doesn't seem to be showing in the output.txt, it works fine in command line, what am I doing wrong?