ubuntuでsun-java6-jdkを入れる際になんかエラーでた

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-6u10-docs.zip jdk-6u10-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.


解決法は書いてあるとおりhttp://java.sun.com/javase/downloadsへ行って、Java SE 6 Documentationから日本語ファイルを英語ファイルを落として来て/tmpにいれればいいようです.