Apple's Java source and javadoc

Apple's Java installation does not include the source or javadoc api. Apple does have a developer download at X which does contain these files at <>. On my machine the package in "javadeveloper_10.6_10m3261.dmg" is installed at


If you are using NetBeans you will need to add this as a new "Java Platform". This posting assumes you called the platform "JDK_1.6". Once you have created the platform you will need to manually fix how javadoc is used. To do this, in the file


edit the //javadoc/resource element so that "!/docs/api/" is appended. For example,


For some reason, Netbeans emends the source resource with "!/src/" but not the javadoc resource.