Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Source for Java libraries on OSX?

 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Apple provide some equivalent to the src.zip that comes with Sun's JDKs? Something that contains the source for the standard libraries (e.g. really fundamental stuff like java.lang.String), as implemented in Apple's Java? I'm new to the Mac world, but so far I haven't found anything like that in Apple's install, or on their web site. I could grab the src.zip from the equivalent Sun JDK and I imagine it would be pretty close if not identical for most classes (excluding the com.apple stuff of course, maybe more). Anyone have any good suggestions? Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/src.jar
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the response, Bear - unfortunately I don't seem to have that file. The directory is there, but no src.jar.

I'm actually more interested in 1.5.0 than 1.4.2, but the problem is the same.

On Windows I recall there was an "include source" option at some point in the install. I don't recall seeing such an option when I installed 1.5.0 on OSX - did I miss something?
[ September 14, 2005: Message edited by: Jim Yingst ]
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, since Bear gave me the exact file name for what I wanted I was able to do a more accurate Google search than I'd previously been able to. This led me to http://connect.apple.com where I found the 1.5 documentation download I needed. Thanks, Bear!
[ September 14, 2005: Message edited by: Jim Yingst ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too cool!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic