tags:

views:

65

answers:

2

Possible Duplicates:
Java JDK Source Code?? Where to find it?
How to get JRE/JDK with matching source?

I'd like to study java in more depth, but I don't know where to find and download the java build-in library source code. Is it possible to get it anyway?

+1  A: 

From the Oracle/Sun web site:

Over the past several years, Sun has made the source code available via the Sun Community Source License (SCSL) terms. Sun continues to use SCSL for JDK 5.0. In addition, Sun is also releasing JDK 5.0 under the new Java Research License (JRL) which simplifies access to JDK 5.0 source code. Researchers and universities should find the JRL much easier to understand and work with compared to SCSL.

You can download the source (with either license) using the links on that page, but you'll need to sign up for an account first.

This applies to JDK 5. I'm not sure how this will work with JDK 6.

Brian
A: 

Some source code for java. and javax. packages is already included with JDK distribution.

Alexander Pogrebnyak