Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java source code

 
RajivAwadhesh kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How and from where can i get the complete source code for the Java 6 SDK ?
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look for a file called src.zip inside your JDK* installation directory. That contains the source code
*Not present if you downloaded only the JRE. But then as a Java developer you cannot live without the JDK
 
RajivAwadhesh kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Maneesh
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that the code in src.zip is not the complete source code of the whole JDK, it's only the Java source code of the classes and interfaces in the standard library.

If you really want all the source code, including the C++ source code of the JVM, then look at the OpenJDK website.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic