http://askubuntu.com – I installed fastdebug build of JDK 6 (Linux x64 version, since there is no Ubuntu specific build) in /usr/lib/jvm directory, manually set during installation process. Installation completed successfully (at least such a message was showed at the end). (HowTos)