jshell、jlink 等 jdk 命令的手册页

jshell、jlink 等 jdk 命令的手册页

在 ubuntu 上,我已经通过命令安装了 java doc:

sudo apt 安装 openjdk-11-doc

但是,仍然无法通过找到任何文档man jlink

这是否意味着 javadoc 不包含手册页jlink或者我没有正确安装它?

答案1

您没有指定发布版本,但从软件包中焦点或 20.04

https://packages.ubuntu.com/focal/openjdk-11-doc

您可以查看文件列表或

https://packages.ubuntu.com/focal/all/openjdk-11-doc/filelist

我只会提供开头几行

/usr/share/doc-base/openjdk-11-jdk-doc
/usr/share/doc/openjdk-11-doc/api
/usr/share/doc/openjdk-11-doc/changelog.Debian.gz
/usr/share/doc/openjdk-11-doc/copyright
/usr/share/doc/openjdk-11-doc/index.html
/usr/share/doc/openjdk-11-doc/legal
/usr/share/doc/openjdk-11-doc/resources
/usr/share/doc/openjdk-11-doc/specs
/usr/share/doc/openjdk-11-jre-headless/api/allclasses-index.html
/usr/share/doc/openjdk-11-jre-headless/api/allclasses.html
/usr/share/doc/openjdk-11-jre-headless/api/allpackages-index.html
/usr/share/doc/openjdk-11-jre-headless/api/constant-values.html
/usr/share/doc/openjdk-11-jre-headless/api/deprecated-list.html
/usr/share/doc/openjdk-11-jre-headless/api/element-list
/usr/share/doc/openjdk-11-jre-headless/api/help-doc.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-1.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-10.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-11.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-12.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-13.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-14.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-15.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-16.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-17.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-18.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-19.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-2.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-20.html
/usr/share/doc/openjdk-11-jre-headless/api/index-files/index-21.html

等等;这是一个很长的清单!

该包中的文档是可以通过浏览器查看的 HTML 格式。

相关内容