OS Manuals

/usr/lib/jvm/java-11-openjdk-openj9/bin/jrunscript

OpenJDK 11 with OpenJ9

From openjdk-11-openj9 0.61.0-r4 (enterprise-packages), captured 2026-11-08 by running jrunscript --help (exit 0). permalink

Also provided by 1 other package version
Usage: jrunscript [options] [arguments...]

where [options] include:
  -classpath <path>    Specify where to find user class files
  -cp <path>           Specify where to find user class files
  -D<name>=<value>     Set a system property
  -J<flag>             Pass <flag> directly to the runtime system
  -l <language>        Use specified scripting language
  -e <script>          Evaluate given script
  -encoding <encoding> Specify character encoding used by script files
  -f <script file>     Evaluate given script file
  -f -                 Interactive mode, read script from standard input
                       If this is used, this should be the last -f option
  -? -h --help -help   Print this help message and exit
  -q                   List all scripting engines available and exit

If [arguments..] are present and if no -e or -f option is used, then first
argument is script file and the rest of the arguments, if any, are passed
as script arguments. If [arguments..] and -e or -f option is used, then all
[arguments..] are passed as script arguments. If [arguments..], -e, -f are
missing, then interactive mode is used.
Options (14)
OptionDescriptionSource
-classpath pathIndicate where any class files are that the script needs to access.help + man
-cp pathSpecify where to find user class fileshelp + man
-D name>=<valueSet a system propertyhelp
-J flagPass <flag> directly to the runtime systemhelp
-l languageUse specified scripting languagehelp
-e scriptEvaluates the specified script.help + man
-f scriptEvaluates the specified script file (batch mode).help + man
-? -hDisplays a help message and exits.help + man
-qList all scripting engines available and exithelp + man
-Dname valueSets a Java system property. (in the manual page but not in --help)man
-JflagPasses flag directly to the Java Virtual Machine where the jrunscript command is running. (in the manual page but not in --help)man
-I languageUses the specified scripting language. (in the manual page but not in --help)man
-encoding encodingSpecifies the character encoding used to read script files. (in the manual page but not in --help)man
-helpDisplays a help message and exits. (in the manual page but not in --help)man
Examples (14) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.