如何在 Netbeans 7 中附加缺少的 Java JDK 源代码 [英] How to attach missing java JDK sources in Netbeans 7

查看:24
本文介绍了如何在 Netbeans 7 中附加缺少的 Java JDK 源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 NetBeans 中导航到某些 JDK 源代码时,它只显示它是已编译的代码并且源代码丢失,我可以附加它.使用附加.."按钮附加源后没有任何反应?我应该在哪里附上源代码?

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?

推荐答案

Tools->JavaPlatforms->JSE{选择你的 jdk}->source tab->Add jar/folder {choose src.zip from installed JDK path.}

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

这篇关于如何在 Netbeans 7 中附加缺少的 Java JDK 源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆