If you encounter the following error in Debian Lenny while installing Sun-Java-6:
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
The quickest way to fix this is to go to the Sun/Oracle Website and download the latest version of the jdk documentation. Place the file in the /tmp folder.
Debian only checks for an old version of the documentation file (specifically jdk-6u12). You won’t find the jdk-6u12-docs.zip on the Sun/Oracle website. Its currently on jdk-6u23.
To fix this, simply rename the file from jdk-6u23-docs.zip to jdk-6u12-docs.zip.