1.Window->Preferences 2.Java --> Installed JREs 3.设置Source attachment 选择src.zip所在位置 4.设置好之后,显示如下 5.之后一直点ok……,就可以看到源码了