Missing basic JavaDoc in Eclipse

后端 未结 5 1195
逝去的感伤
逝去的感伤 2021-02-19 16:40

Up to a few days ago, Eclipse was working fine in locating the javadoc for base classes such as Java.io.File. Recently, though, hovering over these classes only yields a message

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 17:10

    Expand your JRE System library and find rt.jar (classes.jar for Mac OS X). Right click, and select 'Properties'.

    classes.jar

    You can then specify the Javadoc location (as well as the source location).

    properties

提交回复
热议问题