Java source for MacOS X for use with Eclipse

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Verdon

    Java source for MacOS X for use with Eclipse

    For the last two years, I've been using Eclipse as my Java IDE, and I'm very
    happy with it. I've just switched from Linux to Mac, and while Eclipse
    itself works even better, I have a problem with the source for the Java
    libraries.

    In Eclipse, one can get instant access to the JavaDoc for any class, whether
    it's part of the current project or a standard one such as, for example,
    java.util.Vecto r. In order to do this, Eclipse needs access to the source
    for the Java standard libraries[1]. On Linux this was not a problem, but it
    doesn't seem to be included in the Mac implementation of Java, and so while
    Eclipse can infer the number and types of method parameters, say, it can't
    tell me what they're called or provide documentation on what they do.

    Does anyone know where I can find (jars, presumably) of this material, or
    have any other suggestions for solving this problem?

    Cheers,

    Pete

    (nb. Followups set to csm.programmer. misc)

    [1] Sorry, I'm not certain this is the correct term. I mean everything from
    java.lang.Strin g to the Swing classes.
  • Raymond DeCampo

    #2
    Re: Java source for MacOS X for use with Eclipse

    Peter Verdon wrote:[color=blue]
    > For the last two years, I've been using Eclipse as my Java IDE, and I'm very
    > happy with it. I've just switched from Linux to Mac, and while Eclipse
    > itself works even better, I have a problem with the source for the Java
    > libraries.
    >
    > In Eclipse, one can get instant access to the JavaDoc for any class, whether
    > it's part of the current project or a standard one such as, for example,
    > java.util.Vecto r. In order to do this, Eclipse needs access to the source
    > for the Java standard libraries[1]. On Linux this was not a problem, but it
    > doesn't seem to be included in the Mac implementation of Java, and so while
    > Eclipse can infer the number and types of method parameters, say, it can't
    > tell me what they're called or provide documentation on what they do.
    >
    > Does anyone know where I can find (jars, presumably) of this material, or
    > have any other suggestions for solving this problem?
    >
    > Cheers,
    >
    > Pete
    >
    > (nb. Followups set to csm.programmer. misc)
    >
    > [1] Sorry, I'm not certain this is the correct term. I mean everything from
    > java.lang.Strin g to the Swing classes.[/color]

    Presumably you could use the source from any other distribution,
    specifically your Linux distribution. Just look for the src.zip file
    and copy it into your Mac installation.

    Ray

    Comment

    Working...