I just installed Debian 5.0.6, 32 bit and just can't install Java.
I thought it was as simple as
# apt-get install sun-java6-jre
but this is the response I get:
Reading package lists... Done Building dependency tree Reading state information... Done Package sun-java6-jre is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package sun-java6-jre has no installation candidate