1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Eclipse on Leopard missing javadoc + source

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

  1. macrumors regular

    whitehexagon

    #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

    #2
    XCode.
     
  3. macrumors regular

    whitehexagon

    #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