Preface

This guide provides information about using the Java Shell tool (JShell) to explore the Java language and prototype code.

Audience

This document is intended for developers interested in using a Read-Eval-Print Loop (REPL) tool to learn the Java language, explore new Java APIs and features, and prototype complex code.

Related Documents

See JDK 22 Documentation.

Conventions

The following conventions are used in this document:

Convention Meaning

boldface

Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary.

italic

Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.

monospace

Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.

<keys>

Name of a keyboard key or key combination in angle brackets (<>) indicates that the key or key combination is pressed as part of the user input.