Eclipse Generate Javadoc Wizard: what is “Javadoc Command”?

前端 未结 5 1498
-上瘾入骨i
-上瘾入骨i 2021-01-31 06:59

I want to generate the javadocs for an open-source code-base I\'m using. But I\'m being asked for a \"Javadoc Command\" by the Eclipse Generate JavaDoc wizard and the help doesn

5条回答
  •  没有蜡笔的小新
    2021-01-31 07:33

    You may need to add a JDK (Java Development Kit) to the installed JRE's within Eclipse

    Go to Window->Preferences->Java->Installed JRE's

    In the Name column if you do not have a JDK as your default, then you will need to add it.

    Click the "Add" Button and locate the JDK on your machine. You may find it in this location: C:\Program Files\Java\jdk1.x.y
    Where x and y are numbers.

    If there are no JDK's installed on your machine then download and install the Java SE (Standard Edition) from the Oracle website.

    Then do the steps above again. Be sure that it is set as the default JRE to use.

    Then go back to the Projects->Generate Javadoc... dialog

    Now it should work.

    Good Luck.

提交回复
热议问题