Good afternoon, doing Java.
jdk and jre are in Program Files / Java
Netbeans (out of the box) connects the JDK to it when creating a project, and you can view the source code for any class from it.
But eclipse ("out of the box") does not give a look at the source code. In the list of project files there is JRE, and with "ctrl + click" on any class / method produces: Source not found and, for example ... Java \ jre7 \ lib \ rt.jar no source attachment.
Is it generally normal that he refers to a separate jre? After all, in theory, jre, which is part of jdk, is the necessary jre, isn't it?
Do not tell me how to be?
Thank you in advance!