jdx doctor
IDE equivalent: Self-diagnosis (JDK, index, AppCDS, daemon, workspace)
Check the jdx environment and report one ok/warn/fail row per check (JDK, javap, cache, config, index, Kotlin module, AppCDS archive, daemon, workspace, agent setup). Exits 6 if any check fails. With --json, print the same report in the JSON envelope.
Usage#
jdx doctor [<options>]Options#
| Option | Description |
|---|---|
--json | Emit machine-readable JSON instead of human-readable text (same information, D-007). |
-h, --help | Show this message and exit |
Full help text#
Show jdx doctor --help
jdx doctor --help
Usage: jdx doctor [<options>]
Check the jdx environment and report one ok/warn/fail row per check (JDK, javap, cache, config, index, Kotlin module, AppCDS archive, daemon, workspace, agent setup). Exits 6 if any check fails. With --json, print the same report in the JSON envelope.
Options:
--json Emit machine-readable JSON instead of human-readable text (same information, D-007).
-h, --help Show this message and exitReal output — this example ran against the current jdx when the page was built.
Learn more#
Guide: Installation · All commands