W3cubDocs

/OpenJDK 21

Module java.scripting

module java.scripting
Defines the Scripting API.

The JDK implementation of this module includes a language-independent command-line script shell, jrunscript, that supports executing JavaScript and other languages if its corresponding script engine is installed.

Module Graph:
Module graph for java.scriptingModule graph for java.scripting
Tool Guides:
jrunscript
Since:
9

Packages

Package Description
javax.script
The scripting API consists of interfaces and classes that define Java Scripting Engines and provides a framework for their use in Java applications.

Services

Type Description
ScriptEngineFactory
ScriptEngineFactory is used to describe and instantiate ScriptEngines.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.scripting/module-summary.html