JRUNSCRIPT(1) JDK JRUNSCRIPT(1) (NAME) jrunscript-openjdk21 - OpenJDK 21 (SYNOPSIS) : . jrunscript [] [] jrunscript . (OPTIONS) . . . (DESCRIPTION) jrunscript . jrunscript (read-eval-print) ( -f) . (JavaScript) -l . jrunscript . jrunscript API jrunscript . (OPTIONS) -cp path -classpath path (class files) . -Dname=value (Java system property) . -Jflag flag (JVM) jrunscript . -l language . . JAR -cp -classpath . -e script . . -encoding encoding . -f script-file ( ). -f - . -help -? . -q . (ARGUMENTS) -e -f ( ) . -e -f . -e -f . (EXAMPLES) jrunscript -e "print('hello world')" jrunscript -e "cat('http://www.example.com')" jrunscript -l js -f test.js jrunscript js> print('Hello World\n'); Hello World js> 34 + 55 89.0 js> t = new java.lang.Thread(function() { print('Hello World\n'); }) Thread[Thread-0,5,main] js> t.start() js> Hello World js> test.js . arg1 arg2 arg3 . arguments . jrunscript test.js arg1 arg2 arg3 JDK 21 2023 JRUNSCRIPT(1)