Supported Host Engines
- v8 (via d8[.exe] development console, used in Chrome)
- SpiderMonkey (via js[.exe] console, used in Firefox)
- Rhino (via js.jar, used in java)
- JScript (via cscript.exe, used in IE5-IE8)
- Chakra (via cscript.exe, used in IE9+)
- Node.js (via node[.exe] console, technically a v8 engine)
- Phantom.js (via phantomjs[.exe] console)
With the exception of cscript.exe, all of these engines are open source, and can be built or acquired for Windows, Linux, and Mac operating systems.
The Windows Script Host (cscript.exe) is included by default with Windows operating systems (since Windows '98), and will run the version of the script engine based on the Windows Updates applied.
By default, cscript.exe will run the JScript engine, but can be switched to the
Chakra engine with a registry change or command flag. See the
WSH Engine FAQ for more information.
Running the D8 engine on windows requires some additions to the source code, to allow system commands to be executed. See the
D8 on Windows FAQ for more information.
Known working versions of some of these hosts can be downloaded here: