File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mac OS and the fly likes Source for Java libraries on OSX? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Mac OS
Reply Bookmark "Source for Java libraries on OSX?" Watch "Source for Java libraries on OSX?" New topic
Author

Source for Java libraries on OSX?

Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18670
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.


"I'm not back." - Bill Harding, Twister
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/src.jar


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18670
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

Joined: Jan 30, 2000
Posts: 18670
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

Joined: Jan 10, 2002
Posts: 56179
    
  13

Too cool!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Source for Java libraries on OSX?
 
Similar Threads
Is java internally written in C
How List interface work ?
jre & jvm
How to just get java source code (src.zip), without installing full JDK ?
How do I compile this project?