3

我正在使用 Eclipse 并用它生成了一个 javadoc,但是当我打开 index.htmlm 这就是我得到的全部内容:

生成的文档(无标题) targetPage = "" + window.location.search; if (targetPage != "" && targetPage != "undefined") targetPage = targetPage.substring(1); if (targetPage.indexOf(":") != -1) targetPage = "undefined"; 函数 loadFrames() { if (targetPage != "" && targetPage != "undefined") top.classFrame.location = top.targetPage; }

我也尝试从命令行执行此操作,但它给出了有关 javadoc 的此错误:

javadoc -sourcepath 源路径-d destpath

如何生成 javadoc?

4

1 回答 1

0

Try regenerating javadoc using Eclipse, and JavaDoc command needs to be from JDK witch is determined in PATH so everything works fine.

于 2014-07-10T14:49:01.977 回答