How to attach missing java JDK sources in Netbeans 7

纵然是瞬间 提交于 2019-11-27 18:35:58

问题


When I try to navigate in NetBeans to some JDK source code it only shows that it's compiled code and the source code is missing and I can attach it. After attaching the source with the "Attach.." button nothing happens? Where should I attach the source code?


回答1:


Tools->JavaPlatforms->JSE{choose your jdk}->source tab->Add jar/folder {chose src.zip from installed JDK path.}



来源:https://stackoverflow.com/questions/11071265/how-to-attach-missing-java-jdk-sources-in-netbeans-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!