English 中文(简体)
• 如何在Netbeans看到Java SE 6来源在Mac? [复制]
原标题:How to view Java SE 6 source in Netbeans on a Mac? [duplicate]
This question already has answers here:
Closed 12 years ago.

Possible Duplicate:
Source code for Mac OS X java version 1.6.0_22

我正在利用Java EE 6开发一个网络。 工作一米,视窗7使用网门。 我总是认为,我可以把 Java SE 6来源视为“滚动”()并看到该代码。

最近,我在家里的Macbook上安装了Netbeans(Mac OS X 10.6.5),并下载了该项目。 一切工作罚款,但我注意到,我可以再看一看标准 j类的来源。 所有方法都有<条码>新滚动字典”;

我需要在这里安装什么东西?

<>Update: Okay,在阅读。 缩略语 (也不得不向10.6.8)。 然而,我仍然看不到Netbeans的来源。 我如何混淆Netbeans,因此 Java SE 6来源是可观的?

Update 2: I ve been using http://javasourcecode.org/ in the meantime, but it would still be better to view the source in Netbeans.

Update 3: it looks like if I go to Tools->Java Platforms->Sources I can choose the source to read from. I tried selecting /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/1.6.0_26-b03-384.jdk but this didn t work, which I guess makes sense since this is the default platform.

我在任何地方都读到,我想到.jar。 我需要<代码>/Library/Java/Home/src.jar,但它没有。 详细查询<代码>src.jar或src.zip 页: 1 谁能帮助我在这里填补空白?

最佳回答

Found the answer in this post: Source code for Mac OS X Java Updates Not sure why I didn t find it earlier as I searched pretty extensively - must have used the wrong keywords.

Apparently it s now located at /Library/Java/JavaVirtualMachines/1.6.0_26-b03-384.jdk/Contents/Home/src.jar. My mistake was not opening the package contents of 1.6.0_26-b03-384.jdk.

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签