Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Location of 1.5.x JDK source code

Tags:

java

java-5

I have installed Eclipse 3.3 on Mac OS X and it does not contain the src.zip file I am used to seeing with Windows and Linux installations. Where can I download the complete source code for the Java 1.5 JDK (must be specific versions).

I have been able to locate the full source code, however it contained the ungenerated Buffer implementations and so navigating NIO code was not possible.

Looking for the Java source typically found in the JDK src.zip, not the VM source.

like image 325
ng. Avatar asked Mar 01 '23 02:03

ng.


2 Answers

You can get the Developer Documentation, which includes the source. The download requires you to have an ADC account.

like image 90
Guðmundur Bjarni Avatar answered Mar 11 '23 08:03

Guðmundur Bjarni


Brian Clapper has already mentioned it in a comment, but the JDK downloads from Sun include src.zip. I don't know if there's any way to get it other than installing on a target platform, but you can install it on a Windows or Linux (virtual) machine and get src.zip from there.

Specifically for Java 1.5, the downloads are here

[Update] Also, source distributions of the JDK are available from Sun from here. It seems that SCSL link is messed up and throws you for a loop, but JRL still works (if you don't mind going through it).

like image 32
ykaganovich Avatar answered Mar 11 '23 08:03

ykaganovich