I'm new to Ubuntu and Java. How do I correct this?
freestyler@freestyler-HP-ProBook-4420s:~$ sudo apt-get install sun-java6-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic Use 'apt-get autoremove' to remove them. Suggested packages: sun-java6-demo openjdk-6-doc sun-java6-source The following NEW packages will be installed: sun-java6-jdk 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. Need to get 0B/19.7MB of archives. After this operation, 61.2MB of additional disk space will be used. Preconfiguring packages ... Selecting previously deselected package sun-java6-jdk. (Reading database ... 194375 files and directories currently installed.) Unpacking sun-java6-jdk (from .../sun-java6-jdk_6.21dlj-0ubuntu1~maverick1~ppa1_i386.deb) ... sun-dlj-v1-1 license has already been accepted Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Processing triggers for python-support ... Setting up sun-java6-jdk (6.21dlj-0ubuntu1~maverick1~ppa1) ... update-alternatives: error: alternative path /usr/lib/jvm/java-6-sun/bin/HtmlConverter doesn't exist. dpkg: error processing sun-java6-jdk (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: sun-java6-jdk E: Sub-process /usr/bin/dpkg returned an error code (1)