Are there any repository (git, svn, csv etc.) with java's source code? I know there is zip archive in jdk distribution but I would prefer single repository as history is trackable and it is easy to switch to any point of time in the history.
Asked
Active
Viewed 1,570 times
1
-
@mre He's talking about a git repo with the Java source on it. Like on GitHub or something. I don't know of any, infact I don't know if Oracle allows it. – turnt Feb 21 '13 at 00:56
-
I am asking about online repository with java source code. – michael nesterenko Feb 21 '13 at 00:57
-
1This question has useful answers: http://stackoverflow.com/q/261015/422353 – madth3 Feb 21 '13 at 00:59
-
You mean Java_'s_ source code? – entonio Feb 21 '13 at 01:04
-
@entonio, yep, I mean java source code – michael nesterenko Feb 21 '13 at 08:52
-
@michaelnesterenko, "java source code" means any source code that happens to be written in java. You apparently mean "Java's source code" (notice the apostrophe), which means the source code of the Java runtime. – entonio Feb 21 '13 at 12:30
-
@michaelnesterenko we're pleased to help :) As far as I know, there is no public repository, Sun only released the source as part of its distributions but if I'm not mistaken anyone could apply to get repository access; but I would be surprised if Oracle kept that policy (if it was ever like that). – entonio Feb 21 '13 at 12:50
1 Answers
1
You can download OpenJDK as well as Lambda with Mercurial.
For both you have to download and then make it before its usable, which may or may not be what you're after.
If you're after the "official" Oracle supplied JDK then the only way I know to get hold of that is via the sanctioned download from Oracle itself (or included with most JDK downloads too)

Sean Landsman
- 7,033
- 2
- 29
- 33