foo> java -jar venice-1.7.8.jar -script "(+ 1 1)"
=> 2
foo> echo "(+ 1 1)" > script.venice
foo> java -jar venice-1.7.8.jar -file script.venice
=> 2
foo> echo "(+ 1 (long (nth *ARGV* 2)))" > script.venice
foo> java -jar venice-1.7.8.jar -file script.venice 3
=> 4
Note: the command line args are only available when executing a script in the ways shown above. The command line args are not available in the REPL and for security reasons they are not available with embedding Venice in Java!