JShell API
DRAFT 9-Debian+0-9b161-1

Module jdk.jshell

This module provides support for Java™ Programming Language 'snippet' evaluating tools, such as Read-Eval-Print Loops (REPLs). Separate packages support building tools, configuring the execution of tools, and programmatically launching the existing Java™ shell tool.

The jdk.jshell is the package for creating 'snippet' evaluating tools. Generally, this is only package that would be needed for creating tools.

The jdk.jshell.spi package specifies a Service Provider Interface (SPI) for defining execution engine implementations for tools based on the jdk.jshell API. The jdk.jshell.execution package provides standard implementations of jdk.jshell.spi interfaces and supporting code. It also serves as a library of functionality for defining new execution engine implementations.

The jdk.jshell.tool supports programmatically launching the "jshell tool".

The jdk.jshell.execution package contains implementations of the interfaces in jdk.jshell.spi. Otherwise, the four packages are independent, operate at different levels, and do not share functionality or definitions.

Since:
9
Skip navigation links
JShell API
DRAFT 9-Debian+0-9b161-1

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.

DRAFT 9-Debian+0-9b161-1