在哪里可以找到Java JDK源代码? [英] Where to find Java JDK Source Code?

查看:150
本文介绍了在哪里可以找到Java JDK源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看看Java API中的方法是做什么的。所以我想要JDK源代码。
在我重新安装Linux之前,我有 src.zip 包,其中包含所有官方源代码。我只需告诉Eclipse这个文件在哪里,我就能看到代码。但现在我不再拥有该文件...

I would like to see what a method in the Java API does. So I want the JDK Source Code. Before I re-installed Linux I had the src.zip package with all the official source code in it. I just had to tell Eclipse where this file is and I could see the code. But now I don't have the file anymore...

所以问题是: 我在哪里可以找到它?

So the question is: Where can I find it?

推荐答案

您还没有说出您想要的版本,但JDK 8源代码的存档可以< a href =http://download.java.net/openjdk/jdk8/ =noreferrer>这里下载,以及 JDK 7 JDK 6

You haven't said which version you want, but an archive of the JDK 8 source code can be downloaded here, along with JDK 7 and JDK 6.

此外,您可以浏览或克隆Mercurial存储库: 8 7 6

Additionally you can browse or clone the Mercurial repositories: 8, 7, 6.

这篇关于在哪里可以找到Java JDK源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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