Debian etch doesn't provide sun java package for 64bit architecture by default. You have to use binary from Sun website, or use backports repository. Unfortunately, current java6 package in backports.org suffers from bug #428142. The fix is available, but not yet made into backport repos. So you have to wait for sun-java6 packages update in backport, or use another way: packages from testing repository
.
First, you have to install java-common package. apt-get it, the package will install few other packages needed. Second, download these packages:
- sun-java6-bin6-07-3amd64.deb (23MB)
- sun-java6-jdk6-07-3amd64.deb (17MB)
- sun-java6-jre6-07-3all.deb (6,1MB)
These packages provide fixes for bug
#428142. You can find those packages in directory pool/non-free/s/sun-java6/. For example, if you use ftp.de debian repository, the URLs will be
http://ftp.de.debian.org/debian/pool/non-free/s/sun-java6/.
Install these three packages together with dpkg:
dpkg -i sun-java6-bin6-07-3amd64.deb sun-java6-jdk6-07-3amd64.deb sun-java6-jre6-07-3all.deb