Nov 09, 2026 3:01:26 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-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> 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, 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 (23)
| Option | Description | Source |
|---|
--class-path path | Specifies the directories and archives that are searched to locate class files. | help + man |
--module-path path | Specifies 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-PATHs | help + man |
--enable-native-access | Allow code to run restricted native methods | help |
--enable-preview | Allows code to depend on the preview features of this release. | help + man |
--startup file | Overrides the default startup script for this session. | help + man |
--no-startup | Prevents startup scripts from running when JShell starts. | help + man |
--feedback mode | Sets the initial level of feedback provided in response to what's entered. | help + man |
-q | Sets the feedback mode to concise, which is the same as entering --feedback concise. | help + man |
-s | Sets the feedback mode to silent, which is the same as entering --feedback silent. | help + man |
-v | Sets the feedback mode to verbose, which is the same as entering --feedback verbose. | help + man |
-J flag | Pass <flag> directly to the runtime system. | help |
-R flag | Pass <flag> to the remote runtime system. | help |
-C flag | Pass <flag> to the compiler. | help |
--version | Prints version information and exits the tool. | help + man |
--show-version | Prints version information and enters the tool. | help + man |
--help, -?, -h | Prints a summary of standard options and exits the tool. | help + man |
--help-extra, -X | Prints a summary of nonstandard options and exits the tool. | help + man |
--add-exports module/package | Specifies a package to be considered as exported from its defining module. (in the manual page but not in --help) | man |
-Cflag | Provides a flag to pass to the compiler. (in the manual page but not in --help) | man |
--execution specification | Specifies an alternate execution engine, where specification is an ExecutionControl spec. (in the manual page but not in --help) | man |
-Jflag | Provides a flag to pass to the runtime system. (in the manual page but not in --help) | man |
-Rflag | Provides 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.