Running Java with input files

Hi, can someone give me instructions, or refer me to instructions, that would explain how I could run a Java program in replit with input coming from a file? I want to be able to quickly mark programs by having them read the input from a file, so that all I have to do is look at the output.

You are unable to do this. But with io testing this is possible. Learn more here.