File–>Project Structure —>SDKS—>Sourcepath—>选择自己jdk目录下面的src.zip文件 File–>settings 取消java.和javaw. 然后按F7就可以愉快的阅读源代码了