OS Manuals

/usr/lib/jvm/java-17-zulu/bin/jshell

Zulu 17 Java development kit (PSU stream)

From zulu-17-psu 17.0.20-r2 (enterprise-packages), captured 2026-11-09 by running jshell --help (exit 0). permalink

Nov 09, 2026 3:24:42 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Usage:   jshell <option>... <load-file>...
where possible options include:
    --class-path <path>   Specify where to find user class files
    --module-path <path>  Specify where to find application modules
    --add-modules <module>(,<module>)*
                          Specify modules to resolve, or all modules on the
                            module path if <module> is ALL-MODULE-PATHs
    --enable-preview      Allow code to depend on preview features of this release
    --startup <file>      One run replacement for the startup definitions
    --no-startup          Do not run the startup definitions
    --feedback <mode>     Specify the initial feedback mode. The mode may be
                            predefined (silent, concise, normal, or verbose) or
                            previously user-defined
    -q                    Quiet feedback.  Same as: --feedback concise
    -s                    Really quiet feedback.  Same as: --feedback silent
    -v                    Verbose feedback.  Same as: --feedback verbose
    -J<flag>              Pass <flag> directly to the runtime system.
                            Use one -J for each runtime flag or flag argument
    -R<flag>              Pass <flag> to the remote runtime system.
                            Use one -R for each remote flag or flag argument
    -C<flag>              Pass <flag> to the compiler.
                            Use one -C for each compiler flag or flag argument
    --version             Print version information and exit
    --show-version        Print version information and continue
    --help, -?, -h        Print this synopsis of standard options and exit
    --help-extra, -X      Print help on non-standard options and exit

A file argument may be a file name, or one of the predefined file names: DEFAULT,
PRINTING, or JAVASE.
A load-file may also be "-" to indicate standard input, without interactive I/O.

For more information on the evaluation context options (--class-path,
--module-path, and --add-modules) see:
	/help context

A path lists the directories and archives to search. For Windows, use a
semicolon (;) to separate items in the path. On other platforms, use a
colon (:) to separate items.
Options (22)
OptionDescriptionSource
--class-path pathSpecifies the directories and archives that are searched to locate class files.help + man
--module-path pathSpecifies where to find application modules.help + man
--add-modules module>(Specify modules to resolve, or all modules on the module path if <module> is ALL-MODULE-PATHshelp
--enable-previewAllows code to depend on the preview features of this release.help + man
--startup fileOverrides the default startup script for this session.help + man
--no-startupPrevents startup scripts from running when JShell starts.help + man
--feedback modeSets the initial level of feedback provided in response to what's entered.help + man
-qSets the feedback mode to concise, which is the same as entering --feedback concise.help + man
-sSets the feedback mode to silent, which is the same as entering --feedback silent.help + man
-vSets the feedback mode to verbose, which is the same as entering --feedback verbose.help + man
-J flagPass <flag> directly to the runtime system.help
-R flagPass <flag> to the remote runtime system.help
-C flagPass <flag> to the compiler.help
--versionPrints version information and exits the tool.help + man
--show-versionPrints version information and enters the tool.help + man
--help, -?, -hPrints a summary of standard options and exits the tool.help + man
--help-extra, -XPrints a summary of nonstandard options and exits the tool.help + man
--add-exports module/packageSpecifies a package to be considered as exported from its defining module. (in the manual page but not in --help)man
-CflagProvides a flag to pass to the compiler. (in the manual page but not in --help)man
--execution specificationSpecifies an alternate execution engine, where specification is an ExecutionControl spec. (in the manual page but not in --help)man
-JflagProvides a flag to pass to the runtime system. (in the manual page but not in --help)man
-RflagProvides a flag to pass to the remote runtime system. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.