score:25

Accepted answer

In the Project Explorer (or Navigator), find the JAR (should be listed under "library path"), right-click, properties, there you can delete the association to a source, and/or provide a new association.

enter image description here

Note: you must go to the properties for an individual JAR. You cannot get the equivalent dialog if you click on "JRE System Library"

score:4

In the package explorer, where the jar is in a library (JRE, Maven dependencies, etc...); right click => properties => java source attachement.

Alternately in the project properties => Java build path => Library tab => select the jar => edit.

score:29

Right click on the Debugger panel, select Edit Source Lookup

Right click on the Debugger panel, select Edit Source Lookup


Related Query

More Query from same tag