• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

built java source code ?

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anybody ever built java source code ?

I am using Eclispe, sometime I want to browse java source code, like java.util.List. I download source package from Sun website, run the jar file, I still don't see the source code.

Or the other place I could download it ?

Thanks.
 
Henry Wong
author
Marshal
Pie
Posts: 20882
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java source code is part of the JDK -- it is in a file name src.zip, in the top directory of the JDK.

Henry
 
Henry Wong
author
Marshal
Pie
Posts: 20882
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the source download from Sun may be an overkill. It is the source for the JVM, which includes the C/C++ stuff too.

For the core classes, like java.util, the source provided by the JDK should be fine.

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic