OS Manuals

/usr/lib/jvm/java-21-openjdk-openj9/bin/jwebserver

OpenJDK 21 with OpenJ9

From openjdk-21-openj9 0.63.0-r0 (enterprise-packages), captured 2026-11-08 by running jwebserver --help (exit 0). permalink

Also provided by 1 other package version
Usage: jwebserver [-b bind address] [-p port] [-d directory]
                  [-o none|info|verbose] [-h to show options]
                  [-version to show version information]
Options:
-b, --bind-address    - Address to bind to. Default: 127.0.0.1 (loopback).
                        For all interfaces use "-b 0.0.0.0" or "-b ::".
-d, --directory       - Directory to serve. Default: current directory.
-o, --output          - Output format. none|info|verbose. Default: info.
-p, --port            - Port to listen on. Default: 8000.
-h, -?, --help        - Prints this help message and exits.
-version, --version   - Prints version information and exits.
To stop the server, press Ctrl + C.
Options (6)
OptionDescriptionSource
-b, --bind-address addrSpecifies the address to bind to.help + man
-d, --directory dirSpecifies the directory to serve.help + man
-o, --output levelSpecifies the output format.help + man
-p, --port portSpecifies the port to listen on.help + man
-h, -?, --help- Prints this help message and exits.help + man
-version, --versionPrints the version information and exits.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.