2010-05-03

Installing sun-java6-doc on Debian Lenny

During installing Sun Java (now from Oracle) on Debian 5.0 the package sun-java6-doc is asking the user for downloading the docs:

This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6u12-docs.zip jdk-6u12-docs-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]

Searching for it on the Java site results in 0 entries. But there is a way to get it working:

Download the latest jdk-docs (in my case jdk-6u18-docs.zip) to your /tmp directory and rename it to jdk-6u12-docs.zip. Now the sun-java6-doc will be satisfied.

No comments: