Display JavaDoc tooltips in Eclipse

Sometimes after installing the JDK and Eclipse, JavaDoc tooltips do not show the Java documentation:

Eclipse not showing JavaDoc in its tooltips

I have experienced this problem quite often, especially with programming students who installed the JDK additionally to an already present JRE. The simple solution is to switch the JRE Eclipse uses in the preferences (you may have to “Add” the JRE included in your JDK first):

Eclipse preferences for changing the current JRE

Now Eclipse should display JavaDoc in the tooltips:

Eclipse showing JavaDoc in its tooltips

Über Stefan

Polyglot Clean Code Developer

Ein Kommentar

  1. Wie immer sehr informativ und interessant! Danke

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert