• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Source for Java libraries on OSX?

 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/src.jar
 
Jim Yingst
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Too cool!
reply
    Bookmark Topic Watch Topic
  • New Topic