在eclipse里查看一些jar下的class文件,有时却会显示Source Not Found。 
遵循以下操作即可解决: 
1.从windows选项下选择”perferences”。 
2.在”perferences”对话框下选择java->Installed JREs 。 
3.选中”jre7”并点击右侧”Edit”。 
4.在”Edit JRE”对话框中找到对应的jar,例如rt.jar,点击展开选择”Source Attachment”。 
5.在”Source Attachment”对话框下,选择”External location”,路径设为JDK根目录,源文件就是该路径下的src.zip。 

解决Source Not Found问题

相关文章:

  • 2021-08-31
  • 2021-12-12
  • 2021-11-28
  • 2022-01-17
  • 2021-11-24
  • 2021-11-23
  • 2021-11-12
猜你喜欢
  • 2021-05-16
  • 2021-08-08
  • 2022-12-23
  • 2021-09-18
  • 2021-10-15
相关资源
相似解决方案