How to import com.sun.javadoc.* in eclipse?

后端 未结 4 1000
一生所求
一生所求 2021-01-02 05:35

Importing com.sun.javadoc eclipse report me this error \"The import com.sun.javadoc cannot be roselved\" it seems the package is not installed. Looking at the web sitehttp:/

4条回答
  •  佛祖请我去吃肉
    2021-01-02 06:09

    You need to add Tools.jar from the JDK install into your project's build path.

    Right click your project in the Package Explorer, and go to properties. On the left, click "Java Build Path". Go to the "Libraries" tab and click "Add External JARs". Navigate to your JDK install and go to the LIB folder. Select tools.jar, and hit okay.

提交回复
热议问题