3

On the JDK6 source page the repository link is broken, and the location that is described in readme doesn't exist. I know that there is also OpenJDK repository, but as I understand, it isn't the same.

I know how to download source files, but I'm much more interested in repository, not the jars.

I'm not interested in any other open implementations of JVM.

Max Yankov
  • 12,551
  • 12
  • 67
  • 135
  • 3
    you can download the source along w/ the JDK (there is a file called src.zip) – bestsss Jul 04 '11 at 12:38
  • 1
    but he asked, specifically, for the repository, not for the sources... – woliveirajr Jul 04 '11 at 12:47
  • 1
    @bestsss - jdk6 is more than the (incomplete) collection of java source files that is shipped with the standard jdk – Andreas Dolk Jul 04 '11 at 12:48
  • @Andreas, sure it is; it doesn't even include the native code and so on, or sun code, etc. but it does contain quite a lot of the java standard classes – bestsss Jul 04 '11 at 12:56
  • @golergka, just downloaded from the link: http://download.java.net/jdk6/6u23/promoted/b05/jdk-6u23-fcs-src-b05-jrl-12_nov_2010.jar the site seems to have some issues, though; and you might try to restart or pause/resume the download – bestsss Jul 04 '11 at 13:01

4 Answers4

2

In the comments section of the readme, from the repository, you can see that's been a long time since people complain about the repository not being updated and with access problems.

Try downloading the .jar... as many others have suggested here.

woliveirajr
  • 9,433
  • 1
  • 39
  • 49
1

Try GrepCode, as an example (and indeed, bestsss is right, there is a source zip in each JDK)

Riduidel
  • 22,052
  • 14
  • 85
  • 185
1

On this site there is a link to the source code package. The link works for me.

hage
  • 11
  • 1
0

As bestsss said its called src.zip and you can find it in the JDK distribution.

  • This is the JDK file structure for Windows.
  • This is the JDK file structure for Linux.

They should help you find it within the JDK.

Simeon
  • 7,582
  • 15
  • 64
  • 101
  • Thanks for the link, but I already downloaded that source – I was interested in repository for a more convenient way to be up-to-date with the latest release. – Max Yankov Jul 04 '11 at 13:23
  • @golergka You will be up to date with the latest release when you download each new JDK :) There is currently no way to update the JDK or its source via a remote repository like Maven for instance. – Simeon Jul 04 '11 at 14:01