When building a headless JDK on Linux (configure option `--enable-headless-only`) there is still the tool bin/jconsole in the resulting JDK image. However the tool seems not to work, so probably it could be removed. Also the jdk.jconsole classes can be found in the lib/modules file (probably they are not very useful in a headless jdk).
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8385817 Changes: https://git.openjdk.org/jdk/pull/31499/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31499&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8385817 Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/31499.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31499/head:pull/31499 PR: https://git.openjdk.org/jdk/pull/31499
