• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

src.zip location on Snow Leopard

 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The src.zip on my Snow Leopard seems to have vanished after an update. Any idea where its located? Or do I need to download it? If yes, from where?
Not able to see the source in eclipse is quite frustrating at times.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the Java directories are now in a different place: /Library/Java/JavaVirtualMachines. What looks like a humongous .jdk file is actually a directory, somewhere in which you'll find src.jar, docs.jar and appledocs.jar.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. Not there
 
author and jackaroo
Posts: 12199
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found it!
  • Log into Apple Developer Connection (free account is fine)
  • In the Downloads section (second panel on the right hand side), select Java
  • Choose the Developer Package that is right for your JDK and OS level
  • download the package and install it


  • You should then find the source in something like /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home/src.jar
     
    Maneesh Godbole
    Bartender
    Posts: 11445
    18
    Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Awesome! Thanks!
     
    Lester Burnham
    Rancher
    Posts: 1337
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Interesting - that's exactly where it was on my machine, but without having to install anything (just the Java updates offered by Software Update, obviously).
     
    Maneesh Godbole
    Bartender
    Posts: 11445
    18
    Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I suspect it was present initially on my machine too (not sure of the location though), but some update wiped it out. Let's see what happens this time after the update
     
    Andrew Monkhouse
    author and jackaroo
    Posts: 12199
    280
    Mac IntelliJ IDE Firefox Browser Oracle C++ Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    @Lester - I have some vague recollection of you being on a PowerPC based Mac. Is that still the case? And is it possible that this could explain the discrepancy?
     
    Lester Burnham
    Rancher
    Posts: 1337
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    No, I'm on an Intel CPU. Maybe Maneesh didn't previously install the Java update(s) offered through the Software Update functionality?
     
    That new kid is a freak. Show him this tiny ad:
    professionally read, modify and write PDF files from Java
    https://products.aspose.com/pdf/java
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!