You use JDK commands to run scripts that interact with the Java platform.
Note:
Commands identified as Experimental are unsupported and might not be available in future JDK releases.
The following sections describe the commands used to run scripts:
jjs: You use the jjs
command-line tool to invoke the Nashorn engine.
jrunscript: Experimental You use the jrunscript
command to run a command-line script shell that supports interactive and batch modes.