dev-java/sun-jre-bin-1.5.0.01 installs the 32 bits version of the sun jre only on the x86 arch. For the am64 arch, it chooses to install only the 64 bits version. As the java plugin from the 32 bits version works with mozilla-firefox-bin, and the 64 bits does not, it is desirable to have the chance to choose between 32 bits and 64 bits (or maybe both) versions. Reproducible: Always Steps to Reproduce: 1. 2. 3.
cc
amd64 team: please comment
I really don't think this is the best approach. If anything, I think it would be better to have separate packages for each JRE, like sun-jre-compat, blackdown-jre-compat, etc., that would install the 32bit version. Along those lines, emul-linux-x86-java was recently added which provides a 32bit Java environment (it ends up being blackdown-jre-1.4 if I recall). I think this is sufficient for now, but perhaps we need to add will need to add a 1.5 jre as well.
(In reply to comment #3) > I really don't think this is the best approach. If anything, I think it would > be better to have separate packages for each JRE, like sun-jre-compat, > blackdown-jre-compat, etc., that would install the 32bit version. > > Along those lines, emul-linux-x86-java was recently added which provides a > 32bit Java environment (it ends up being blackdown-jre-1.4 if I recall). I > think this is sufficient for now, but perhaps we need to add will need to add a > 1.5 jre as well. > The primary reason for needing a 32bit jre on amd64 is to support the java functionality in openoffice-bin (and also to provide a browser plugin). With the next release of openoffice I hope to see native amd64 support which would make a 32bit jre faily redundant. I really don't see much point in adding multiple 32bit jre's at this point, emul-linux-x86-java is sufficient for now. But yes I will consider adding an emul-linux-x86-java-1.5 if I see the need for it.
WONTFIX for dev-java/sun-jre-bin then. File a request for emul-linux-x86-java-1.5 and reference this bug if you want 1.5 support as 32 bit binaries.