Eclipse on Leopard missing javadoc + source

Discussion in 'Mac Programming' started by whitehexagon, Feb 23, 2008.

  1. macrumors regular

    whitehexagon

    Joined:
    May 12, 2007
    #1
    Hi All,

    Anyone know what package I need to install to get the javadoc and source code for Leopard Java 5? And also how to get these then attached to eclipse.

    Cheers
    Peter
     
  2. macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #2
    XCode.
     
  3. thread starter macrumors regular

    whitehexagon

    Joined:
    May 12, 2007
    #3
    Thanks for the tip, I found it on the Leopard DVD under:
    Optional Installs/Xcode Tools/Packages/JavaSDK.pkg

    That installs:

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

    easiest way to configure eclipse is press F3 on a standard java method name in some source code, and then select attach source, and then point to the above File.

    Cheers

    Peter
     

Share This Page