java-repl
java-repl copied to clipboard
Pipe File Into Runtime
Is this the recommended way to do something like this?
file
System.out.println("test");
System.exit(0);
and run on ubuntu
cat repltest.txt | java -jar build/libs/javarepl-dev.jar
Forgive there are not many examples on the main site.