When you installed the JDK, did you also decide to install the source? This is usually in src.zip. If you configure Eclipse to build against the JDK and specify the location of src.zip (if it is not automatically detected), you can simply switch to JRE types just like any other.
(Note that you cannot easily see the exact code for System.out.println , since it depends on the value of System.out at that time ... but you can see PrintWriter , etc.)
source share