Automatically linking Java 8 source code with Eclipse IDE

In my installation of Eclipse IDE (Mars 4.5) it has not automatically linked rt.jar and jfxrt.jar to src.zip and javafx-src.zip. I know how to do this manually by browsing to the .zip files within the JDK installation.

What I want to know is if there is a way to ensure this happens automatically when installing Eclipse / Java. I’m pretty certain I know someone who didn’t link to the source manually and it is linked on their installation.

For example, if you install the JDK before Eclipse, or vice-versa, does this make any difference?

Also, when you make the link, where abouts is the preference information stored on the file system – is it somewhere within the same folder that eclipse.exe exists?

Read more here: Source link