Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

in the DrJava Interactions Pane to run the program on
on input from file <infile>. Output will be displayed in the DrJava console. If you simply hit the {{Run Project }}button, this action is equivalent to entering the line

...

which runs the program with terminal input as the input file. In this case, the program will prompt you
for the input of each command in a box within the Interactions Pane.

You can also run the program from the command line (a terminal) in the ]aundry laundry directory of the program file tree.
The input line

...

DrJava does not support output redirection but you can copy the text printed in the console and paste it into a file
using your editor of choice.