PDA

View Full Version : Eclipse on Leopard missing javadoc + source




whitehexagon
Feb 23, 2008, 02:45 PM
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



Eraserhead
Feb 23, 2008, 03:30 PM
XCode.

whitehexagon
Feb 23, 2008, 04:29 PM
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