aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
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: 18671
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: 61187
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
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: 18671
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: 61187
    
  66

Too cool!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Source for Java libraries on OSX?