OS Manuals

/usr/lib/jvm/java-26-adoptium/bin/jshell

Adoptium OpenJDK FIPS 26

From adoptium-openjdk-fips-26 26.0.2.10-r11 (enterprise-packages), captured 2026-11-09 by running jshell --help (exit 0). permalink

Nov 09, 2026 2:31:16 PM java.util.prefs.FileSystemPreferences setupUserRoot
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-native-access
                          Allow code to run restricted native methods
    --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>              passes <flag> to the runtime system, but has no effect
                            on the execution of code snippets. To specify flags
                            that affect the execution of code snippets, use
                            -R<flag>. Alternatively, use -J<flag> with
                            --execution local.
    -R<flag>              passes <flag> to the runtime system only when code
                            snippets are executed. For example, -R-Dfoo=bar
                            means that execution of the snippet
                            System.getProperty("foo") will return "bar".
    -C<flag>              passes <flag> to the Java compiler inside JShell.
                            For example, -C-Xlint enables all the recommended
                            lint warnings, and -C--release=<N> compiles for
                            Java SE N, as if --release N was specified.
                            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, TOOLING, 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 (18)
OptionDescriptionSource
--class-path pathSpecify where to find user class fileshelp
--module-path pathSpecify where to find application moduleshelp
--add-modules module>(Specify modules to resolve, or all modules on the module path if <module> is ALL-MODULE-PATHshelp
--enable-native-accessAllow code to run restricted native methodshelp
--enable-previewAllow code to depend on preview features of this releasehelp
--startup fileOne run replacement for the startup definitionshelp
--no-startupDo not run the startup definitionshelp
--feedback modeSpecify the initial feedback mode.help
-qQuiet feedback.help
-sReally quiet feedback.help
-vVerbose feedback.help
-J flagpasses <flag> to the runtime system, but has no effect on the execution of code snippets.help
-R flagpasses <flag> to the runtime system only when code snippets are executed.help
-C flagpasses <flag> to the Java compiler inside JShell.help
--versionPrint version information and exithelp
--show-versionPrint version information and continuehelp
--help, -?, -hPrint this synopsis of standard options and exithelp
--help-extra, -XPrint help on non-standard options and exithelp

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